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 ef96f022e..efb0623bd 100644
--- a/monkey/tests/unit_tests/infection_monkey/utils/test_commands.py
+++ b/monkey/tests/unit_tests/infection_monkey/utils/test_commands.py
@@ -100,7 +100,7 @@ def test_build_monkey_commandline():
     example_host = VictimHost(ip_addr="bla")
     example_host.set_default_server("101010")
 
-    expected = "-p " + GUID + " -s 101010 -d 0 -l /home/bla -vp 80"
+    expected = f"-p {GUID} -s 101010 -d 0 -l /home/bla -vp 80"
     actual = build_monkey_commandline(
         target_host=example_host, depth=0, vulnerable_port="80", location="/home/bla"
     )