This repository was archived by the owner on Jun 9, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -85,34 +85,6 @@ def test_generates_workflow_int_inputs(self):
85
85
generated = self .capture_tempfile (w .export )
86
86
self .assertEqual (expected , generated )
87
87
88
- def test_generates_workflow_optional_int_inputs (self ):
89
- w = cwlgen .Workflow ()
90
- # Use the same tool as the previous similar int_inputs
91
- tool = cwlgen .parse_cwl ("test/int_tool.cwl" )
92
-
93
- i = cwlgen .workflow .InputParameter ('INTEGER' , param_type = 'int?' )
94
- o1 = w .add ('step' , tool , {"INTEGER" : i })
95
- o1 ['OUTPUT1' ].store ()
96
-
97
- expected = b"""#!/usr/bin/env cwl-runner
98
-
99
- class: Workflow
100
- cwlVersion: v1.0
101
- inputs:
102
- INTEGER: {id: INTEGER, type: int?}
103
- outputs:
104
- step_OUTPUT1: {id: step_OUTPUT1, outputSource: step/OUTPUT1, type: File}
105
- steps:
106
- step:
107
- id: step
108
- in: {INTEGER: INTEGER}
109
- out: [OUTPUT1]
110
- run: test/int_tool.cwl
111
- """
112
- generated = self .capture_tempfile (w .export )
113
- self .assertEqual (expected , generated )
114
-
115
-
116
88
def test_add_requirements (self ):
117
89
w = cwlgen .Workflow ()
118
90
req = cwlgen .InlineJavascriptReq ()
You can’t perform that action at this time.
0 commit comments