Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Fixes #39
  • Loading branch information
espenhgn committed May 27, 2024
1 parent d20725d commit 5cf0ad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_container_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
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'

Check failure on line 33 in tests/test_container_template.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] tests/test_container_template.py#L33 <501>

line too long (83 > 79 characters)
Raw output
./tests/test_container_template.py:33:80: E501 line too long (83 > 79 characters)
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')

Check failure on line 36 in tests/test_container_template.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] tests/test_container_template.py#L36 <501>

line too long (95 > 79 characters)
Raw output
./tests/test_container_template.py:36:80: E501 line too long (95 > 79 characters)
except FileNotFoundError:
raise FileNotFoundError(
'Neither `singularity` nor `docker` found in PATH.' +
Expand Down

0 comments on commit 5cf0ad1

Please sign in to comment.