Skip to content

Commit e593cbe

Browse files
committed
Update analyzer tests with deprecated 'suspended' parameter in process message
1 parent 8ff75c0 commit e593cbe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

analyzer/windows/tests/test_analyzer.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -977,9 +977,8 @@ def test_handle_process(self, mock_process):
977977
# TODO add a couple of mocks
978978
random_pid = random.randint(1, 99999999)
979979
random_tid = random.randint(1, 9999999)
980-
suspended = 1
981-
data = bytes(f"{suspended}:{random_pid},{random_tid}".encode())
982-
# This produces something like b"1:910271,1819029"
980+
data = bytes(f"{random_pid},{random_tid}".encode())
981+
# This produces something like b"910271,1819029"
983982
with patch("analyzer.INJECT_LIST", []):
984983
self.pipe_handler._handle_process(data=data)
985984
self.assertEqual(1, len(analyzer.INJECT_LIST))

0 commit comments

Comments
 (0)