diff --git a/CHANGELOG.md b/CHANGELOG.md index e81fb7093..b7365fa3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,8 @@ ### Download -- Bugfix for AttributeError: 'ContainerError' object has no attribute 'absoluteURI' ([#2543](https://github.com/nf-core/tools/pull/2543)). +- Add `docker://` prefix for absolute container URIs as well ([#2576](https://github.com/nf-core/tools/pull/2576)). +- Bugfix for AttributeError: `ContainerError` object has no attribute `absoluteURI` ([#2543](https://github.com/nf-core/tools/pull/2543)). ### Linting diff --git a/tests/test_download.py b/tests/test_download.py index 81589e450..7c9532e97 100644 --- a/tests/test_download.py +++ b/tests/test_download.py @@ -266,7 +266,7 @@ def test_singularity_pull_image_singularity_installed(self, tmp_dir, mock_rich_p # Test successful pull with absolute URI (use tiny 3.5MB test container from the "Kogia" project: https://github.com/bschiffthaler/kogia) download_obj.singularity_pull_image( - "docker.io/bschiffthaler/sed", f"{tmp_dir}/hello-world.sif", None, "docker.io", mock_rich_progress + "docker.io/bschiffthaler/sed", f"{tmp_dir}/sed.sif", None, "docker.io", mock_rich_progress ) # try to pull from non-existing registry (Name change hello-world_new.sif is needed, otherwise ImageExists is raised before attempting to pull.)