diff --git a/tests/cromwellapi/test-failures.py b/tests/cromwellapi/test-failures.py index 89ace44..1849c57 100644 --- a/tests/cromwellapi/test-failures.py +++ b/tests/cromwellapi/test-failures.py @@ -4,7 +4,7 @@ def test_failures_initial_state(cromwell_api, submit_wdls): """Checking for failures works for initial state""" params = {"includeKey": "failures", "includeKey": "jobId"} - fail = list(filter(lambda x: "parseBatchFile" in x["path"], submit_wdls)) + fail = list(filter(lambda x: "badRunParseBatchFile" in x["path"], submit_wdls)) res = cromwell_api.metadata(fail[0]["id"], params=params) assert isinstance(res, dict) assert res == {} @@ -13,7 +13,7 @@ def test_failures_initial_state(cromwell_api, submit_wdls): # def test_failures_final_state(cromwell_api, submit_wdls): # """Checking for failures works for final state""" # params = {"includeKey": "failures", "includeKey": "jobId"} -# fail = list(filter(lambda x: "parseBatchFile" in x["path"], submit_wdls)) +# fail = list(filter(lambda x: "badRunParseBatchFile" in x["path"], submit_wdls)) # print(f"fail0: {fail[0]}") # res = cromwell_api.metadata(fail[0]["id"], params=params) # print(f"cromwell_api.metadata output:{res}")