Skip to content
Snippets Groups Projects
Commit 38fa0d2c authored by Hans Fangohr's avatar Hans Fangohr
Browse files

fix pydoc style after manual merge

parent 5a582e36
No related branches found
No related tags found
2 merge requests!19Move linux-debian11 into main,!9force `subprocess.run` to check return code is 0
Pipeline #368560 passed
...@@ -54,10 +54,10 @@ class os_chdir: ...@@ -54,10 +54,10 @@ class os_chdir:
def run(*args, counter=[0], **kwargs): def run(*args, counter=[0], **kwargs):
""" """
Call subprocess.run(*args, **kwargs) and print logging data. Call subprocess.run and print logging data.
Conveniene function to call `subprocess.run` and provide some metadata Conveniene function to call `subprocess.run(*args, **kwargs)`
about the call. and provide some metadata about the call.
Parameters Parameters
---------- ----------
......
...@@ -65,6 +65,7 @@ def test_os_chdir(tmp_path): ...@@ -65,6 +65,7 @@ def test_os_chdir(tmp_path):
def test_prepare_environment(tmp_path): def test_prepare_environment(tmp_path):
"""Simulate running preparation of environment. """Simulate running preparation of environment.
Simulate running ./install-software-environment.py --release dev-23a \ Simulate running ./install-software-environment.py --release dev-23a \
--target-directory /tmp/test_prepare_env --target-directory /tmp/test_prepare_env
prepare_env is run when cmd is not specified, we can test cmd='prepare' prepare_env is run when cmd is not specified, we can test cmd='prepare'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment