From 029c1016435f0d464f1c0b960e67deb02d6b8161 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 30 Sep 2022 12:54:27 -0400 Subject: [PATCH] UT: Remove disused scan event fixtures --- .../cc/agent_event_handlers/test_scan_event_handler.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/monkey/tests/unit_tests/monkey_island/cc/agent_event_handlers/test_scan_event_handler.py b/monkey/tests/unit_tests/monkey_island/cc/agent_event_handlers/test_scan_event_handler.py index a14607197..b22d86c16 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/agent_event_handlers/test_scan_event_handler.py +++ b/monkey/tests/unit_tests/monkey_island/cc/agent_event_handlers/test_scan_event_handler.py @@ -98,16 +98,6 @@ def scan_event_handler(agent_repository, machine_repository, node_repository): return ScanEventHandler(agent_repository, machine_repository, node_repository) -@pytest.fixture -def handle_ping_scan_event(scan_event_handler): - return scan_event_handler.handle_ping_scan_event - - -@pytest.fixture -def handle_tcp_scan_event(scan_event_handler): - return scan_event_handler.handle_tcp_scan_event - - machines = {MACHINE_ID: SOURCE_MACHINE, TARGET_MACHINE.id: TARGET_MACHINE} machines_by_id = {MACHINE_ID: SOURCE_MACHINE, TARGET_MACHINE.id: TARGET_MACHINE} machines_by_ip = {