From 47f838cf9f830e81c3cdcccaf14eb5f51311ff5e Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 7 Sep 2022 18:01:56 +0530 Subject: [PATCH] UT: Rename test_control_find_server_socket -> test_control_find_server__control_message_sent_to_necessary_relays --- 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 181e38d9f..7400e98ac 100644 --- a/monkey/tests/unit_tests/infection_monkey/test_control.py +++ b/monkey/tests/unit_tests/infection_monkey/test_control.py @@ -52,7 +52,7 @@ def test_control_find_server__no_available_relays(monkeypatch, servers): assert servers == [] -def test_control_find_server_socket(monkeypatch, servers): +def test_control_find_server__control_message_sent_to_necessary_relays(monkeypatch, servers): mock_connect = MagicMock() mock_send = MagicMock() monkeypatch.setattr("infection_monkey.control.requests.get", RequestsGetArgument)