@@ -2769,7 +2769,12 @@ def gather_output(field, output_dir):
2769
2769
2770
2770
my_output_spec = SpecInfo (
2771
2771
name = "Output" ,
2772
- fields = [("newfile" , attr .ib (type = MultiOutputFile , metadata = {"callable" : gather_output }))],
2772
+ fields = [
2773
+ (
2774
+ "newfile" ,
2775
+ attr .ib (type = MultiOutputFile , metadata = {"callable" : gather_output }),
2776
+ )
2777
+ ],
2773
2778
bases = (ShellOutSpec ,),
2774
2779
)
2775
2780
shelly = ShellCommandTask (
@@ -2785,8 +2790,7 @@ def gather_output(field, output_dir):
2785
2790
shelly .output_names
2786
2791
== shelly .generated_output_names
2787
2792
== ["return_code" , "stdout" , "stderr" , "newfile" ]
2788
- )
2789
-
2793
+ )
2790
2794
2791
2795
2792
2796
@pytest .mark .parametrize ("results_function" , [result_no_submitter , result_submitter ])
@@ -3112,7 +3116,6 @@ def get_stderr(stderr):
3112
3116
shelly = ShellCommandTask (
3113
3117
name = "shelly" , executable = cmd , args = args , output_spec = my_output_spec
3114
3118
).split ("args" )
3115
-
3116
3119
3117
3120
results = results_function (shelly , plugin )
3118
3121
for index , res in enumerate (results ):
@@ -3249,7 +3252,7 @@ def get_lowest_directory(directory_path):
3249
3252
shelly .output_names
3250
3253
== shelly .generated_output_names
3251
3254
== ["return_code" , "stdout" , "stderr" , "resultsDir" ]
3252
- )
3255
+ )
3253
3256
res = results_function (shelly , plugin )
3254
3257
print ("Cache_dirr:" , shelly .cache_dir )
3255
3258
assert (shelly .output_dir / Path ("test" )).exists () == True
0 commit comments