Skip to content

Commit 7b50628

Browse files
committed
fixes to test_singularity tests
1 parent 25d6262 commit 7b50628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydra/engine/tests/test_singularity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_singularity_2a(plugin, tmp_path):
8686
assert singu.cmdline == f"{cmd_exec} {' '.join(cmd_args)}"
8787

8888
with Submitter(
89-
worker=plugin,
89+
worker=plugin, environment=Singularity(image=image), cache_dir=tmp_path
9090
) as sub:
9191
res = sub(singu)
9292

@@ -129,7 +129,7 @@ def test_singularity_st_2(tmp_path, n):
129129
Singu = shell.define("echo")
130130
singu = Singu().split("args", args=args_n)
131131
with Submitter(
132-
plugin="slurm",
132+
plugin="slurm", environment=Singularity(image=image), cache_dir=tmp_path
133133
) as sub:
134134
res = sub(singu)
135135

0 commit comments

Comments
 (0)