Skip to content

Commit

Permalink
fix tests (#41)
Browse files Browse the repository at this point in the history
* fix tests
Fixes #39

* break long lines

* linting
  • Loading branch information
espenhgn authored May 27, 2024
1 parent d20725d commit 8846ac8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_container_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.' +
Expand Down

0 comments on commit 8846ac8

Please sign in to comment.