Agent: Add interrupt to powershell tests

This commit is contained in:
Mike Salvatore 2022-03-17 10:45:56 -04:00
parent 6bdd5ef179
commit a002c96bc6
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import threading
from io import BytesIO
from unittest.mock import MagicMock
@ -43,6 +44,7 @@ def powershell_arguments():
"current_depth": 2,
"telemetry_messenger": MagicMock(),
"agent_repository": mock_agent_repository,
"interrupt": threading.Event(),
}
return arguments