summaryrefslogtreecommitdiff
path: root/share/python/lib/runcmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/python/lib/runcmd.py')
-rw-r--r--share/python/lib/runcmd.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/share/python/lib/runcmd.py b/share/python/lib/runcmd.py
index 90ab890..da6c3fd 100644
--- a/share/python/lib/runcmd.py
+++ b/share/python/lib/runcmd.py
@@ -68,7 +68,7 @@ def runcmd_run(ctx, argv, **kwargs):
kwargs["stdout"] = subprocess.PIPE
kwargs["stderr"] = subprocess.PIPE
- logging.debug(f"runcmd_run: running command")
+ logging.debug("runcmd_run: running command")
log_value("argv", 1, dict(enumerate(argv)))
log_value("env", 1, env)
log_value("kwargs:", 1, kwargs)
@@ -185,10 +185,10 @@ def _runcmd_output_is(actual, wanted):
wanted = bytes(wanted, "utf8").decode("unicode_escape")
logging.debug("_runcmd_output_is:")
- logging.debug(f" actual:")
+ logging.debug(" actual:")
log_lines(indent, actual)
- logging.debug(f" wanted:")
+ logging.debug(" wanted:")
log_lines(indent, wanted)
assert_eq(actual, wanted)
@@ -202,10 +202,10 @@ def _runcmd_output_isnt(actual, wanted):
wanted = bytes(wanted, "utf8").decode("unicode_escape")
logging.debug("_runcmd_output_isnt:")
- logging.debug(f" actual:")
+ logging.debug(" actual:")
log_lines(indent, actual)
- logging.debug(f" wanted:")
+ logging.debug(" wanted:")
log_lines(indent, wanted)
assert_ne(actual, wanted)
@@ -235,10 +235,10 @@ def _runcmd_output_contains(actual, wanted):
wanted = bytes(wanted, "utf8").decode("unicode_escape")
logging.debug("_runcmd_output_contains:")
- logging.debug(f" actual:")
+ logging.debug(" actual:")
log_lines(indent, actual)
- logging.debug(f" wanted:")
+ logging.debug(" wanted:")
log_lines(indent, wanted)
assert_eq(wanted in actual, True)
@@ -252,10 +252,10 @@ def _runcmd_output_doesnt_contain(actual, wanted):
wanted = bytes(wanted, "utf8").decode("unicode_escape")
logging.debug("_runcmd_output_doesnt_contain:")
- logging.debug(f" actual:")
+ logging.debug(" actual:")
log_lines(indent, actual)
- logging.debug(f" wanted:")
+ logging.debug(" wanted:")
log_lines(indent, wanted)
assert_ne(wanted in actual, True)