From 4d71ed42a56845f41eaca55ac56a31510a883591 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Thu, 17 Jun 2021 20:01:41 +0200 Subject: [PATCH] Remove unnecessary unit test for build_monkey_commandline_explicitly --- .../unit_tests/infection_monkey/utils/test_commands.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/monkey/tests/unit_tests/infection_monkey/utils/test_commands.py b/monkey/tests/unit_tests/infection_monkey/utils/test_commands.py index f5ea8659d..049ec7751 100644 --- a/monkey/tests/unit_tests/infection_monkey/utils/test_commands.py +++ b/monkey/tests/unit_tests/infection_monkey/utils/test_commands.py @@ -23,13 +23,7 @@ class TestHelpers(unittest.TestCase): 101010, "10.10.101.10", "127.127.127.127:5000", 0, "C:\\windows\\abc", 80 ) - test2 = ["-p", "parent", "-s", "127.127.127.127:5000", "-d", "0", "-vp", "80"] - result2 = build_monkey_commandline_explicitly( - parent="parent", server="127.127.127.127:5000", depth="0", vulnerable_port="80" - ) - self.assertEqual(test1, result1) - self.assertEqual(test2, result2) if __name__ == "__main__":