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

the counter output is not part of the captured output

parent a42c72b9
No related branches found
No related tags found
2 merge requests!19Move linux-debian11 into main,!14Draft: Add tests for run method
......@@ -44,8 +44,7 @@ def test_run_method(tmp_path):
b"Hello, world!\n"
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):
......
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