File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -125,15 +125,15 @@ def test_singularity_1(tmp_path):
125125 def newcache (x ):
126126 makedir (tmp_path , x )
127127
128- cmd = [ "whoami" ]
128+ cmd = "whoami"
129129 sing = Singularity (image = "docker://alpine" )
130130 shell_def = shell .define (cmd )
131131 shelly = Task (
132132 definition = shell_def ,
133133 submitter = Submitter (cache_dir = newcache ("shelly" )),
134134 name = "shelly" ,
135135 )
136- assert shell_def .cmdline == " " . join ( cmd )
136+ assert shell_def .cmdline == cmd
137137 outputs_dict = sing .execute (shelly )
138138
139139 with Submitter (cache_dir = newcache ("shelly_sub" ), environment = sing ) as sub :
@@ -152,15 +152,15 @@ def test_singularity_1_subm(tmp_path, plugin):
152152 def newcache (x ):
153153 makedir (tmp_path , x )
154154
155- cmd = [ "whoami" ]
155+ cmd = "whoami"
156156 sing = Singularity (image = "docker://alpine" )
157157 shell_def = shell .define (cmd )
158158 shelly = Task (
159159 definition = shell_def ,
160160 submitter = Submitter (cache_dir = newcache ("shelly" )),
161161 name = "shelly" ,
162162 )
163- assert shell_def .cmdline == " " . join ( cmd )
163+ assert shell_def .cmdline == cmd
164164 outputs_dict = sing .execute (shelly )
165165
166166 with Submitter (worker = plugin ) as sub :
You can’t perform that action at this time.
0 commit comments