Skip to content

Commit

Permalink
Fix test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
IanCa committed Jan 30, 2024
1 parent 8ebdb3d commit 1952ab3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec_tests/test_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ def _run_single_schema_test(self, info, error_code, description,name, error_hand
issues = loaded_schema.check_compliance()
except HedFileError as e:
issues = e.issues
if not issues:
issues += [{"code": e.code,
"message": e.message}]
self.report_result(result, issues, error_code, description, name, test, "schema_tests")

def test_errors(self):
Expand Down

0 comments on commit 1952ab3

Please sign in to comment.