def test_crosstable():
> assert CROSSWALK_TABLE["NodeJS"] == {
"repository": "http://schema.org/codeRepository",
"os": "http://schema.org/operatingSystem",
"cpu": "http://schema.org/processorRequirements",
"engines": "http://schema.org/runtimePlatform",
"author": "http://schema.org/author",
"author.email": "http://schema.org/email",
"author.name": "http://schema.org/name",
"contributors": "http://schema.org/contributor",
"keywords": "http://schema.org/keywords",
"license": "http://schema.org/license",
"version": "http://schema.org/version",
"description": "http://schema.org/description",
"name": "http://schema.org/name",
"bugs": "https://codemeta.github.io/terms/issueTracker",
"homepage": "http://schema.org/url",
}
E AssertionError: assert {'author': rd...racker'), ...} == {'author': 'h...Tracker', ...}
E Differing items:
E {'repository': rdflib.term.URIRef('http://schema.org/codeRepository')} != {'repository': 'http://schema.org/codeRepository'}
E {'os': rdflib.term.URIRef('http://schema.org/operatingSystem')} != {'os': 'http://schema.org/operatingSystem'}
E {'engines': rdflib.term.URIRef('http://schema.org/runtimePlatform')} != {'engines': 'http://schema.org/runtimePlatform'}
E {'cpu': rdflib.term.URIRef('http://schema.org/processorRequirements')} != {'cpu': 'http://schema.org/processorRequirements'}
E {'version': rdflib.term.URIRef('http://schema.org/version')} != {'version': 'http:...
E
E ...Full output truncated (72 lines hidden), use '-vv' to show
.tox/py3/lib/python3.7/site-packages/swh/indexer/tests/test_codemeta.py:10: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Aug 22 2022, 3:21 PM