Skip to content

Commit

Permalink
Fix the case without id field
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-tan committed May 17, 2024
1 parent 325b34c commit 4e119dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cwltest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def create_test_case(self, test: Dict[str, Any]) -> junit_xml.TestCase:

def create_report_entry(self, test: Dict[str, Any]) -> CWLTestReport:
return CWLTestReport(
test["id"],
test.get("id", "no-id"),
test.get("tags", ["required"]),
self.entry,
self.tool,
Expand Down

0 comments on commit 4e119dc

Please sign in to comment.