Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit d1a07cd

Browse files
authored
Removes pointless failing unit test
Per comment in merge request #13 (comment)
1 parent 7fa5124 commit d1a07cd

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

test/test_unit_workflow.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -85,34 +85,6 @@ def test_generates_workflow_int_inputs(self):
8585
generated = self.capture_tempfile(w.export)
8686
self.assertEqual(expected, generated)
8787

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-
11688
def test_add_requirements(self):
11789
w = cwlgen.Workflow()
11890
req = cwlgen.InlineJavascriptReq()

0 commit comments

Comments
 (0)