Skip to content

Commit

Permalink
fix file path
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Jan 15, 2025
1 parent bc865c8 commit 3e35b92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cromwellapi/test-failures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == {}
Expand All @@ -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}")
Expand Down

0 comments on commit 3e35b92

Please sign in to comment.