Skip to content

Commit 0be55c4

Browse files
committed
fix test
1 parent 661b6f7 commit 0be55c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_cmd_serve.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def test_workflow_test_with_serve(self):
169169
"""
170170
Test testing a Galaxy workflow with the serve flag. Even though
171171
this is technically using the test subcommand it is easier to test here
172+
so we can use the UsesServeCommand methods
172173
"""
173174
cat = os.path.join(PROJECT_TEMPLATES_DIR, "demo", "cat.xml")
174175
test_artifact = os.path.join(TEST_DATA_DIR, "wf2.ga")
@@ -189,7 +190,7 @@ def test_workflow_test_with_serve(self):
189190
workflows = user_gi.workflows.get_workflows()
190191
assert len(workflows) == 1
191192
assert workflows[0]['name'] == 'TestWorkflow1'
192-
histories = user_gi.histories.get_histories()
193+
histories = user_gi.histories.get_histories(name="CWL Target History")
193194
assert len(histories) == 1
194195
for _ in range(60):
195196
state_ids = user_gi.histories.show_history(histories[0]['id'])['state_ids']

0 commit comments

Comments
 (0)