From 4db287b7c638756b0a31b63037e5af0411def591 Mon Sep 17 00:00:00 2001 From: Hans Fangohr <hans.fangohr@mpsd.mpg.de> Date: Wed, 31 May 2023 12:37:42 +0200 Subject: [PATCH] the counter output is not part of the captured output --- tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests.py b/tests.py index 5a6a56a..d3652a4 100644 --- a/tests.py +++ b/tests.py @@ -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): -- GitLab