From 399fedfba5ebaead9b1b80da4ad44d43a6d5116e Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 3 Oct 2022 14:31:27 -0400 Subject: [PATCH] UT: Rename test_relay_not_notified_if_none --- .../agent_event_handlers/test_notify_relay_on_propagation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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