@@ -162,7 +162,7 @@ def test_interface_template_more_complex():
162162
163163 Cp = shell .define (
164164 (
165- "cp <in_fs_objects:fs-object,... > <out|out_dir:directory> "
165+ "cp <in_fs_objects:fs-object+ > <out|out_dir:directory> "
166166 "-R<recursive> "
167167 "--text-arg <text_arg?> "
168168 "--int-arg <int_arg:int?> "
@@ -187,7 +187,9 @@ def test_interface_template_more_complex():
187187 help = shell .EXECUTABLE_HELP_STRING ,
188188 ),
189189 shell .arg (
190- name = "in_fs_objects" , type = MultiInputObj [FsObject ], position = 1 , sep = " "
190+ name = "in_fs_objects" ,
191+ type = MultiInputObj [FsObject ],
192+ position = 1 ,
191193 ),
192194 output ,
193195 shell .arg (name = "recursive" , argstr = "-R" , type = bool , default = False , position = 3 ),
@@ -209,6 +211,7 @@ def test_interface_template_more_complex():
209211 name = "tuple_arg" ,
210212 argstr = "--tuple-arg" ,
211213 type = tuple [int , str ] | None ,
214+ sep = " " ,
212215 default = None ,
213216 position = 6 ,
214217 ),
@@ -245,7 +248,7 @@ def test_interface_template_with_overrides_and_optionals():
245248
246249 Cp = shell .define (
247250 (
248- "cp <in_fs_objects:fs-object,... > <out|out_dir:directory> <out|out_file:file?> "
251+ "cp <in_fs_objects:fs-object+ > <out|out_dir:directory> <out|out_file:file?> "
249252 "-R<recursive> "
250253 "--text-arg <text_arg> "
251254 "--int-arg <int_arg:int?> "
@@ -283,9 +286,7 @@ def test_interface_template_with_overrides_and_optionals():
283286 position = 0 ,
284287 help = shell .EXECUTABLE_HELP_STRING ,
285288 ),
286- shell .arg (
287- name = "in_fs_objects" , type = MultiInputObj [FsObject ], position = 1 , sep = " "
288- ),
289+ shell .arg (name = "in_fs_objects" , type = MultiInputObj [FsObject ], position = 1 ),
289290 shell .arg (
290291 name = "recursive" ,
291292 argstr = "-R" ,
@@ -307,6 +308,7 @@ def test_interface_template_with_overrides_and_optionals():
307308 argstr = "--tuple-arg" ,
308309 type = tuple [int , str ],
309310 position = 5 ,
311+ sep = " " ,
310312 ),
311313 ] + outargs + [ShellDef .additional_args ]
312314 assert sorted_fields (Cp .Outputs ) == outargs + [
@@ -332,7 +334,7 @@ def test_interface_template_with_defaults():
332334
333335 Cp = shell .define (
334336 (
335- "cp <in_fs_objects:fs-object,... > <out|out_dir:directory> "
337+ "cp <in_fs_objects:fs-object+ > <out|out_dir:directory> "
336338 "-R<recursive=True> "
337339 "--text-arg <text_arg='foo'> "
338340 "--int-arg <int_arg:int=99> "
@@ -356,9 +358,7 @@ def test_interface_template_with_defaults():
356358 position = 0 ,
357359 help = shell .EXECUTABLE_HELP_STRING ,
358360 ),
359- shell .arg (
360- name = "in_fs_objects" , type = MultiInputObj [FsObject ], position = 1 , sep = " "
361- ),
361+ shell .arg (name = "in_fs_objects" , type = MultiInputObj [FsObject ], position = 1 ),
362362 output ,
363363 shell .arg (name = "recursive" , argstr = "-R" , type = bool , default = True , position = 3 ),
364364 shell .arg (
@@ -371,6 +371,7 @@ def test_interface_template_with_defaults():
371371 type = tuple [int , str ],
372372 default = (1 , "bar" ),
373373 position = 6 ,
374+ sep = " " ,
374375 ),
375376 ShellDef .additional_args ,
376377 ]
@@ -400,7 +401,7 @@ def test_interface_template_with_type_overrides():
400401
401402 Cp = shell .define (
402403 (
403- "cp <in_fs_objects:fs-object,... > <out|out_dir:directory> "
404+ "cp <in_fs_objects:fs-object+ > <out|out_dir:directory> "
404405 "-R<recursive> "
405406 "--text-arg <text_arg> "
406407 "--int-arg <int_arg> "
@@ -425,9 +426,7 @@ def test_interface_template_with_type_overrides():
425426 position = 0 ,
426427 help = shell .EXECUTABLE_HELP_STRING ,
427428 ),
428- shell .arg (
429- name = "in_fs_objects" , type = MultiInputObj [FsObject ], position = 1 , sep = " "
430- ),
429+ shell .arg (name = "in_fs_objects" , type = MultiInputObj [FsObject ], position = 1 ),
431430 output ,
432431 shell .arg (name = "recursive" , argstr = "-R" , type = bool , default = False , position = 3 ),
433432 shell .arg (name = "text_arg" , argstr = "--text-arg" , type = str , position = 4 ),
@@ -443,6 +442,7 @@ def test_interface_template_with_type_overrides():
443442 argstr = "--tuple-arg" ,
444443 type = tuple [int , str ],
445444 position = 6 ,
445+ sep = " " ,
446446 ),
447447 ShellDef .additional_args ,
448448 ]
0 commit comments