Skip to content

Commit

Permalink
test: fix doccomment for utils.run_cmd
Browse files Browse the repository at this point in the history
it was referring to a `no_shell` parameter, instead of the `shell`
parameter.

Fixes: cb61379
Signed-off-by: Patrick Roy <[email protected]>
  • Loading branch information
roypat committed Oct 16, 2024
1 parent 0a3c6fa commit 4b79156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/framework/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b79156

Please sign in to comment.