Skip to content

Commit

Permalink
Update failing test
Browse files Browse the repository at this point in the history
Some test data was missing the `schemaKey` attribute for `contributor`.
  • Loading branch information
mvandenburgh committed Jun 21, 2024
1 parent 6edc06a commit f248164
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dandischema/tests/test_datacite.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def metadata_basic() -> Dict[str, Any]:
"name": "A_last, A_first",
"email": "[email protected]",
"roleName": [RoleType("dcite:ContactPerson")],
"schemaKey": "Person",
}
],
"license": [LicenseType("spdx:CC-BY-4.0")],
Expand Down
1 change: 1 addition & 0 deletions dandischema/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ def test_dantimeta_1() -> None:
"name": "last name, first name",
"email": "[email protected]",
"roleName": [RoleType("dcite:ContactPerson")],
"schemaKey": "Person",
}
],
"license": [LicenseType("spdx:CC-BY-4.0")],
Expand Down

0 comments on commit f248164

Please sign in to comment.