refactor: use f-strings in compute tests

This commit is contained in:
Mark Paronyan committed 2026-10-03 19:44:01 +03:00
1 parent 7a9c600f54
commit bee6b3f8b1
8 files changed
+70 -76

No files matched your search

@@ -91,7 +91,7 @@ async def test_list_vms(manager):
return ["memory=512"]
elif args[0] == "ccd8c50b-c172-457d-99fa-dd69371ede0e":
return ["memory=256"]
assert False, "Unknow {} {}".format(cmd, args)
assert False, f"Unknow {cmd} {args}"
with asyncio_patch("gns3server.compute.virtualbox.VirtualBox.execute") as mock:
mock.side_effect = execute_mock