The test in test_marcxml_serializer.py has an assertion on 999C5$x which make it look as if the reference identifier was serialized instead of the reference text.
This is due to the fact that the fake test data did not follow the real format (with a reference text, an identifier and a scheme).
This pull request makes the test data for references match with the reality and modifies affected assertions.
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
:heart: Thank you for your contribution!
Fixes https://github.com/zenodo/ops/issues/415
Description
The test in
test_marcxml_serializer.py
has an assertion on999C5$x
which make it look as if the reference identifier was serialized instead of the reference text. This is due to the fact that the fake test data did not follow the real format (with a reference text, an identifier and a scheme).This pull request makes the test data for references match with the reality and modifies affected assertions.
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Third-party code
If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: