Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbray committed Oct 8, 2021
1 parent 661b6f7 commit 0be55c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_cmd_serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def test_workflow_test_with_serve(self):
"""
Test testing a Galaxy workflow with the serve flag. Even though
this is technically using the test subcommand it is easier to test here
so we can use the UsesServeCommand methods
"""
cat = os.path.join(PROJECT_TEMPLATES_DIR, "demo", "cat.xml")
test_artifact = os.path.join(TEST_DATA_DIR, "wf2.ga")
Expand All @@ -189,7 +190,7 @@ def test_workflow_test_with_serve(self):
workflows = user_gi.workflows.get_workflows()
assert len(workflows) == 1
assert workflows[0]['name'] == 'TestWorkflow1'
histories = user_gi.histories.get_histories()
histories = user_gi.histories.get_histories(name="CWL Target History")
assert len(histories) == 1
for _ in range(60):
state_ids = user_gi.histories.show_history(histories[0]['id'])['state_ids']
Expand Down

0 comments on commit 0be55c4

Please sign in to comment.