Skip to content

Commit 8ce23bc

Browse files
committed
dependencies: make resolution test more flexible
1 parent 0e06938 commit 8ce23bc

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/test_dependencies.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,9 @@ def test_biocontainers(tmp_path: Path) -> None:
4949
def test_biocontainers_resolution(tmp_path: Path) -> None:
5050
"""Confirm expected container name for --beta-use-biocontainers."""
5151
tool = load_tool(get_data("tests/seqtk_seq.cwl"), LoadingContext())
52-
assert (
53-
get_container_from_software_requirements(
54-
True, tool, container_image_cache_path=str(tmp_path)
55-
)
56-
== "quay.io/biocontainers/seqtk:1.4--he4a0461_1"
57-
)
52+
assert get_container_from_software_requirements(
53+
True, tool, container_image_cache_path=str(tmp_path)
54+
).startswith("quay.io/biocontainers/seqtk:1.4--")
5855

5956

6057
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)