MaRDI4NFDI / python-zbMathRest2Oai

Read data from the zbMATH Open API https://api.zbmath.org/docs and feed it to the OAI-PMH server https://oai.portal.mardi4nfdi.de/oai/
GNU General Public License v3.0
4 stars 0 forks source link

Write a test for datacite metadata #44

Closed Mazztok45 closed 6 months ago

Mazztok45 commented 8 months ago

Write a test for article metadata testing xslt transform articles metadata to the expected Datacite format. This work should be equivalent to: https://github.com/MaRDI4NFDI/python-zbMathRest2Oai/blob/main/test/test_node_names_software_datacite.py

You can almost reuse the same code.

Mazztok45 commented 7 months ago

AssertionError: 83 not less than or equal to 0 : Found differences between expected and transformed XML

Mazztok45 commented 7 months ago

The test should run 0 errors. Can you improve it?

Shirazos7 commented 7 months ago

Yes i will improve it , the plain.xml has been updated and my Test was based on the older version , therefore i will work on the XSLT Code to improve it .

Mazztok45 commented 6 months ago

I still have issues here, can you work on that? https://github.com/MaRDI4NFDI/python-zbMathRest2Oai/actions/runs/9043468819/job/24851140209

Mazztok45 commented 6 months ago

Errors seem coming from the branch API_VERSION_TEST that is not tested on deployment. Should be fixed once we merge it.