From 8846ac89482cdea01292e7a3bc43f30bdae2f922 Mon Sep 17 00:00:00 2001 From: Espen Hagen <2492641+espenhgn@users.noreply.github.com> Date: Mon, 27 May 2024 16:58:58 +0200 Subject: [PATCH] fix tests (#41) * fix tests Fixes #39 * break long lines * linting --- tests/test_container_template.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_container_template.py b/tests/test_container_template.py index a2fa6e1..07624f3 100644 --- a/tests/test_container_template.py +++ b/tests/test_container_template.py @@ -30,10 +30,12 @@ try: out = subprocess.run('docker') pwd = os.getcwd() - PREFIX = f'docker run -p {port}:{port} container_template' + PREFIX = (f'docker run -p {port}:{port} ' + + 'ghcr.io/precimed/container_template') PREFIX_MOUNT = ( f'docker run -p {port}:{port} ' + - f'--mount type=bind,source={pwd},target={pwd} container_template') + f'--mount type=bind,source={pwd},target={pwd} ' + + 'ghcr.io/precimed/container_template') except FileNotFoundError: raise FileNotFoundError( 'Neither `singularity` nor `docker` found in PATH.' +