Skip to content

Commit

Permalink
deflake8'd
Browse files Browse the repository at this point in the history
  • Loading branch information
abowersox-cb committed Nov 7, 2023
1 parent 7db8418 commit 6dec265
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/tests/unit/fixtures/platform/mock_observations.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,7 @@
"parent_name": "c:\\Windows\\System32\\powershell.exe",
"parent_pid": 7272,
"parent_reputation": "NOT_LISTED",
"process_cmdline": [
"powershell.exe -encodedcommand VwByAGkAdABlAC0ATwB1AHQAcAB1AHQAIAAiAE4AbwAgAG0AYQB0AHQAZQByACAAaABvAHcAIAB0AGgAaQBuACAAeQBvAHUAIABzAGwAaQBjAGUAIABpAHQALAAgAGkAdAAnAHMAIABzAHQAaQBsAGwAIABiAGEAbABvAG4AZQB5AC4AIgA=" # noqa: E501
],
"process_cmdline": ["powershell.exe -encodedcommand VwByAGkAdABlAC0ATwB1AHQAcAB1AHQAIAAiAE4AbwAgAG0AYQB0AHQAZQByACAAaABvAHcAIAB0AGgAaQBuACAAeQBvAHUAIABzAGwAaQBjAGUAIABpAHQALAAgAGkAdAAnAHMAIABzAHQAaQBsAGwAIABiAGEAbABvAG4AZQB5AC4AIgA="], # noqa: E501
"process_cmdline_length": [268],
"process_effective_reputation": "NOT_LISTED",
"process_effective_reputation_source": "AV",
Expand Down
3 changes: 2 additions & 1 deletion src/tests/unit/platform/test_observations.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,8 @@ def on_post_deobfuscate(url, body, **kwargs):

cbcsdk_mock.mock_request("POST", "/api/investigate/v2/orgs/test/observations/detail_jobs",
POST_OBSERVATIONS_SEARCH_JOB_RESP)
cbcsdk_mock.mock_request("GET",
cbcsdk_mock.mock_request(
"GET",
"/api/investigate/v2/orgs/test/observations/detail_jobs/08ffa932-b633-4107-ba56-8741e929e48b/results",
GET_OBSERVATIONS_DETAIL_JOB_RESULTS_FOR_DEOBFUSCATE)
cbcsdk_mock.mock_request("POST", "/tau/v2/orgs/test/reveal", on_post_deobfuscate)
Expand Down

0 comments on commit 6dec265

Please sign in to comment.