From 11e3c5d6e4cc06e20ac0c8f91123db6fa9458e22 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 13 Dec 2021 07:07:43 -0500 Subject: [PATCH] UT: Remove superfluous Asserts in test_network_scanner.py --- .../unit_tests/infection_monkey/master/test_network_scanner.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/monkey/tests/unit_tests/infection_monkey/master/test_network_scanner.py b/monkey/tests/unit_tests/infection_monkey/master/test_network_scanner.py index 1ace7f67f..9447bdfc1 100644 --- a/monkey/tests/unit_tests/infection_monkey/master/test_network_scanner.py +++ b/monkey/tests/unit_tests/infection_monkey/master/test_network_scanner.py @@ -67,12 +67,10 @@ def assert_dot_1(ip, ping_scan_data, port_scan_data): psd_445 = port_scan_data[445] psd_3389 = port_scan_data[3389] - assert psd_445.status == PortStatus.OPEN assert psd_445.port == 445 assert psd_445.banner == "SMB BANNER" assert psd_445.service == "tcp-445" - assert psd_3389.status == PortStatus.OPEN assert psd_3389.port == 3389 assert psd_3389.banner == "" assert psd_3389.service == "tcp-3389"