From aaef2f1f8120bb67458e17f73a482f496345d260 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Mon, 15 Aug 2022 17:59:20 +0200 Subject: [PATCH] UT: Fix Powershell tests to accept IEventQueue --- .../tests/unit_tests/infection_monkey/exploit/test_powershell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monkey/tests/unit_tests/infection_monkey/exploit/test_powershell.py b/monkey/tests/unit_tests/infection_monkey/exploit/test_powershell.py index c5d428f47..a764de832 100644 --- a/monkey/tests/unit_tests/infection_monkey/exploit/test_powershell.py +++ b/monkey/tests/unit_tests/infection_monkey/exploit/test_powershell.py @@ -36,6 +36,7 @@ def powershell_arguments(http_and_https_both_enabled_host): "options": options, "current_depth": 2, "telemetry_messenger": MagicMock(), + "event_queue": MagicMock(), "agent_repository": mock_agent_repository, "interrupt": threading.Event(), }