Skip to content

Commit cf7c0fa

Browse files
use singularity instead of apptainer
1 parent 428c25f commit cf7c0fa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/test_singularity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def test_singularity_local_sandbox_image(tmp_path: Path):
172172
container_path = Path(f"{workdir}/container_repo/")
173173
container_path.mkdir()
174174
cmd = [
175-
"apptainer",
175+
"singularity",
176176
"build",
177177
"--sandbox",
178178
container_path / "alpine",
@@ -191,4 +191,4 @@ def test_singularity_local_sandbox_image(tmp_path: Path):
191191
)
192192
assert result_code == 0
193193
else:
194-
pytest.skip(f"Failed to build the Singularity image: {build.stderr}")
194+
pytest.skip(f"Failed to build the Apptainer image: {build.stderr}")

tests/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def get_data(filename: str) -> str:
4040
filepath = Path(os.path.dirname(__file__)) / ".." / filename
4141
return str(filepath.resolve())
4242

43-
4443
needs_docker = pytest.mark.skipif(
4544
not bool(shutil.which("docker")),
4645
reason="Requires the docker executable on the system path.",

0 commit comments

Comments
 (0)