Skip to content

Commit

Permalink
Merge pull request #802 from IanCa/develop
Browse files Browse the repository at this point in the history
Add a test for invalid header attributes
  • Loading branch information
VisLab authored Nov 21, 2023
2 parents 055be2f + 5a624b6 commit cb65d75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
HED unknownattribute:unknown


1 change: 1 addition & 0 deletions tests/schema/test_schema_wiki_fatal_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def setUpClass(cls):
"empty_file.mediawiki": HedExceptions.SCHEMA_HEADER_INVALID,
"HED_header_invalid_version.mediawiki": HedExceptions.SCHEMA_VERSION_INVALID,
"HED_header_missing_version.mediawiki": HedExceptions.SCHEMA_VERSION_INVALID,
"HED_header_unknown_attribute.mediawiki": HedExceptions.SCHEMA_UNKNOWN_HEADER_ATTRIBUTE,
"HED_header_bad_library.mediawiki": HedExceptions.BAD_HED_LIBRARY_NAME,
"HED_schema_out_of_order.mediawiki": HedExceptions.SCHEMA_SECTION_MISSING,
"empty_node.mediawiki": HedExceptions.WIKI_DELIMITERS_INVALID,
Expand Down

0 comments on commit cb65d75

Please sign in to comment.