From 63d7d1b7e7e45eaaa85cd88107347df305aef09a Mon Sep 17 00:00:00 2001 From: Espen Hagen <2492641+espenhgn@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:07:32 +0200 Subject: [PATCH] bah --- tests/test_container_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_container_template.py b/tests/test_container_template.py index 425d0a5..3f37b31 100644 --- a/tests/test_container_template.py +++ b/tests/test_container_template.py @@ -77,7 +77,7 @@ def test_container_template_python(): def test_container_template_python_script(): '''test that Python can run a script''' - cwd = os.getcwd() if runtime == 'docker' >= 0 else '.' + cwd = os.getcwd() if runtime == 'docker' else '.' call = f'''{PREFIX_MOUNT} {cwd}/tests/extras/hello.py''' out = subprocess.run(call.split(' '), capture_output=True) assert out.returncode == 0