diff --git a/monkey/tests/unit_tests/infection_monkey/agent_event_handlers/test_notify_relay_on_propagation.py b/monkey/tests/unit_tests/infection_monkey/agent_event_handlers/test_notify_relay_on_propagation.py index be03bada9..74b896bb7 100644 --- a/monkey/tests/unit_tests/infection_monkey/agent_event_handlers/test_notify_relay_on_propagation.py +++ b/monkey/tests/unit_tests/infection_monkey/agent_event_handlers/test_notify_relay_on_propagation.py @@ -47,7 +47,7 @@ def test_relay_not_notified_on_successful_propation(mock_tcp_relay): mock_tcp_relay.add_potential_user.assert_not_called() -def test_relay_not_notified_if_none(): +def test_handler_doesnt_raise_if_relay_is_none(): handler = notify_relay_on_propagation(None) # Raises AttributeError on failure