From 4b7915651baf7a61be9160038387784fe285de8b Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Wed, 16 Oct 2024 07:44:43 +0100 Subject: [PATCH] test: fix doccomment for utils.run_cmd it was referring to a `no_shell` parameter, instead of the `shell` parameter. Fixes: cb61379d6ce607c4050e6703de0e8a08d9b5bff5 Signed-off-by: Patrick Roy --- tests/framework/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/framework/utils.py b/tests/framework/utils.py index d154b7af249..b5fb324cbd7 100644 --- a/tests/framework/utils.py +++ b/tests/framework/utils.py @@ -381,7 +381,7 @@ def run_cmd(cmd, check=False, shell=True, cwd=None, timeout=None) -> CommandRetu :param cmd: command to execute :param check: whether a non-zero return code should result in a `ChildProcessError` or not. - :param no_shell: don't run the command in a sub-shell + :param shell: run the command in a sub-shell :param cwd: sets the current directory before the child is executed :param timeout: Time before command execution should be aborted with a `TimeoutExpired` exception :return: return code, stdout, stderr