def test_crosstable():
> assert {k: str(v) for (k, v) in CROSSWALK_TABLE["NodeJS"].items()} == {
"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': 'h...Tracker', ...} == {'author': 'h...Tracker', ...}
E Omitting 15 identical items, use -vv to show
E Left contains 6 more items:
E {'bundleDependencies': 'http://schema.org/softwareRequirements',
E 'bundledDependencies': 'http://schema.org/softwareRequirements',
E 'dependencies': 'http://schema.org/softwareRequirements',
E 'devDependencies': 'https://codemeta.github.io/terms/softwareSuggestions',
E 'optionalDependencies': 'https://codemeta.github.io/terms/softwareSuggestions',...
E
E ...Full output truncated (26 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:56 PM