UT: Fix control client location
This commit is contained in:
parent
3c8530cf14
commit
7fe6c170cd
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue