From c2b06f22f045ceac86e9c9f19e4d0615e44fb98c Mon Sep 17 00:00:00 2001 From: vakaris_zilius Date: Wed, 23 Mar 2022 13:37:33 +0000 Subject: [PATCH] Agent: Improve path comparison style in test_helpers.py --- .../unit_tests/infection_monkey/exploit/tools/test_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/tests/unit_tests/infection_monkey/exploit/tools/test_helpers.py b/monkey/tests/unit_tests/infection_monkey/exploit/tools/test_helpers.py index 00e44d2e4..2c1441961 100644 --- a/monkey/tests/unit_tests/infection_monkey/exploit/tools/test_helpers.py +++ b/monkey/tests/unit_tests/infection_monkey/exploit/tools/test_helpers.py @@ -28,7 +28,7 @@ def test_get_agent_dest_path_randomness(): path1 = get_agent_dest_path(host, options) path2 = get_agent_dest_path(host, options) - assert not path1 == path2 + assert path1 != path2 def test_get_agent_dest_path_str_place():