Skip to content

Commit 4891ae3

Browse files
committed
Prepare for release + fix half generation tests
1 parent ea6825e commit 4891ae3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup
22

3-
__version__ = "v0.2.1"
3+
__version__ = "v0.2.2"
44

55
DESCRIPTION = "Contains classes and helpers to generate WDL without worrying about the syntax. " \
66
"This is primarily intended for generating WDL from other in-memory representations of a workflow."

tests/test_task_generation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ def test_hello_workflow(self):
123123
w = Workflow("test")
124124

125125
w.calls.append(WorkflowCall(
126-
TestTaskGeneration.test_hello_tasks()
126+
TestTaskGeneration.test_hello_tasks().name
127127
))
128128

129129
w.calls.append(WorkflowCall(
130-
TestTaskGeneration.test_hello_tasks(),
130+
TestTaskGeneration.test_hello_tasks().name,
131131
alias="hello2",
132132
inputs_map={
133133
"salutation": '"Greetings"',
@@ -141,8 +141,8 @@ def test_hello_workflow(self):
141141
class TestWorkflowScatter(unittest.TestCase):
142142
def test_call_scatter(self):
143143
sc = WorkflowScatter("i", "integers", [
144-
WorkflowCall(Task("task1"), inputs_map={"num": "i"}),
145-
WorkflowCall(Task("task2"), inputs_map={"num": "task1.output"})
144+
WorkflowCall(Task("task1").name, inputs_map={"num": "i"}),
145+
WorkflowCall(Task("task2").name, inputs_map={"num": "task1.output"})
146146
])
147147

148148
print(sc.get_string(indent=0))

0 commit comments

Comments
 (0)