From 0be55c4449b9e0842028ba3eb36df176cf82a91b Mon Sep 17 00:00:00 2001 From: Simon Bray Date: Fri, 8 Oct 2021 14:55:04 +0200 Subject: [PATCH] fix test --- tests/test_cmd_serve.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_cmd_serve.py b/tests/test_cmd_serve.py index f1b8c3b11..f54c57f49 100644 --- a/tests/test_cmd_serve.py +++ b/tests/test_cmd_serve.py @@ -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") @@ -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']