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/processorRequirements",
"author": "http://schema.org/author",
"author.email": "http://schema.org/email",
"author.name": "http://schema.org/name",
"contributor": "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': 'h...Tracker', ...} == {'author': 'h...Tracker', ...}
E Omitting 13 identical items, use -vv to show
E Differing items:
E {'engines': 'http://schema.org/runtimePlatform'} != {'engines': 'http://schema.org/processorRequirements'}
E Left contains 1 more item:
E {'contributors': 'http://schema.org/contributor'}
E Right contains 1 more item:
E {'contributor': 'http://schema.org/contributor'}...
E
E ...Full output truncated (22 lines hidden), use '-vv' to show
.tox/py3/lib/python3.7/site-packages/swh/indexer/tests/test_codemeta.py:12: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Mar 18 2021, 6:18 AM