We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 186ee9a commit 7feeb89Copy full SHA for 7feeb89
tests/test_singularity.py
@@ -6,6 +6,7 @@
6
import pytest
7
8
from cwltool.main import main
9
+from cwltool.singularity import _inspect_singularity_image
10
11
from .util import (
12
get_data,
@@ -178,8 +179,13 @@ def test_singularity_local_sandbox_image(tmp_path: Path):
178
179
container_path / "alpine",
180
"docker://alpine:latest",
181
]
182
+
183
build = subprocess.run(cmd, capture_output=True, text=True)
184
if build.returncode == 0:
185
+ # Verify the path is a container image
186
+ res_inspect = _inspect_singularity_image(container_path / "alpine")
187
+ assert res_inspect is True
188
189
result_code, stdout, stderr = get_main_output(
190
[
191
"--singularity",
0 commit comments