Skip to content

Commit 9a8c5a8

Browse files
committed
test: fix malformed f string in microvm_helpers.py
My python version does not accept the precense of double quotes inside a double-quoted f-string. Use single quotes instead. Signed-off-by: Patrick Roy <[email protected]>
1 parent 0f1da0d commit 9a8c5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/framework/microvm_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,6 @@ def trace_cmd_guest(self, fns, cmd, port=4321):
242242
print("guest> trace-cmd record")
243243
host_ip = self.vm.iface["eth0"]["iface"].host_ip
244244
_guest_ps = self.vm.ssh.run(
245-
f"trace-cmd record -N {host_ip}:{port} -p function {" ".join(fns)} {cmd}"
245+
f"trace-cmd record -N {host_ip}:{port} -p function {' '.join(fns)} {cmd}"
246246
)
247247
return list(Path(".").glob("trace.*.dat"))

0 commit comments

Comments
 (0)