Skip to content
Snippets Groups Projects

Draft: Add tests for run method

Merged Ashwin Kumar Karnad requested to merge run-tests-for-run into linux-debian11
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
+ 1
2
@@ -44,8 +44,7 @@ def test_run_method(tmp_path):
@@ -44,8 +44,7 @@ def test_run_method(tmp_path):
b"Hello, world!\n"
b"Hello, world!\n"
in run(["echo", "Hello, world!"], capture_output=True).stdout
in run(["echo", "Hello, world!"], capture_output=True).stdout
)
)
# test counter works:
assert b"##-04\n" in run(["echo", "Hello, world!"], capture_output=True).stdout
def test_prepare_environment(tmp_path):
def test_prepare_environment(tmp_path):
Loading