From 7fe6c170cdbdb23f86bfac22e5d894d74d6b830c Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Mon, 13 Jun 2022 17:51:41 +0200 Subject: [PATCH] UT: Fix control client location --- monkey/tests/unit_tests/infection_monkey/test_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/tests/unit_tests/infection_monkey/test_control.py b/monkey/tests/unit_tests/infection_monkey/test_control.py index 6310f68c0..b90087ebf 100644 --- a/monkey/tests/unit_tests/infection_monkey/test_control.py +++ b/monkey/tests/unit_tests/infection_monkey/test_control.py @@ -8,7 +8,7 @@ from monkey.infection_monkey.control import ControlClient [(True, "http://8.8.8.8:45455"), (False, "8.8.8.8:45455")], ) def test_control_set_proxies(monkeypatch, is_windows_os, expected_proxy_string): - monkeypatch.setattr("infection_monkey.cc.control.is_windows_os", lambda: is_windows_os) + monkeypatch.setattr("monkey.infection_monkey.control.is_windows_os", lambda: is_windows_os) control_client = ControlClient("8.8.8.8:5000") control_client.set_proxies(("8.8.8.8", "45455"))