forked from p15670423/monkey
Agent: Add interrupt to powershell tests
This commit is contained in:
parent
6bdd5ef179
commit
a002c96bc6
|
@ -1,3 +1,4 @@
|
||||||
|
import threading
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from unittest.mock import MagicMock
|
from unittest.mock import MagicMock
|
||||||
|
|
||||||
|
@ -43,6 +44,7 @@ def powershell_arguments():
|
||||||
"current_depth": 2,
|
"current_depth": 2,
|
||||||
"telemetry_messenger": MagicMock(),
|
"telemetry_messenger": MagicMock(),
|
||||||
"agent_repository": mock_agent_repository,
|
"agent_repository": mock_agent_repository,
|
||||||
|
"interrupt": threading.Event(),
|
||||||
}
|
}
|
||||||
return arguments
|
return arguments
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue