| 1,069 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.deposit.tests.api.test_checks::test_api_checks_check_metadata_ko_schema[<entry xmlns="http://www.w3.org/2005/Atom"\n xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"\n xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0"\n xmlns:schema="http://schema.org/" >\n <url>some url</url>\n <codemeta:name>bar</codemeta:name>\n <codemeta:author>\n <schema:unknown-tag>should allow anything here</schema:unknown-tag>\n </codemeta:author>\n\n <swh:deposit>\n <swh:metadata-provenance>\n <schema:url>some-metadata-provenance-url</schema:url>\n </swh:metadata-provenance>\n </swh:deposit>\n</entry>\n-expected_summaries2] metadata_ko = '<entry xmlns="http://www.w3.org/2005/Atom"\n xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"\n...hema:url>some-metadata-provenance-url</schema:url>\n </swh:metadata-provenance>\n </swh:deposit>\n</entry>\n'
expected_summaries = [{'fields': ['codemeta:author'], 'summary': '.*codemeta:name expected.*'}]
swh_checks_deposit = <swh.deposit.api.private.deposit_check.APIChecks object at 0x7fd9f6f3e6a0>
|