Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.indexer.metadata_dictionary.maven::swh.indexer.metadata_dictionary.maven.MavenMapping.translate_licenses
Failed

TEST RESULT

Run At
Oct 25 2022, 4:07 PM
Details
106 { 107 "licenses": { 108 "license": { 109 "name": "Apache License, Version 2.0", 110 "url": "https://www.apache.org/licenses/LICENSE-2.0.txt" 111 } 112 } 113 } 114 >>> graph = Graph() 115 >>> root = URIRef("http://example.org/test-software") UNEXPECTED EXCEPTION: NameError("name 'URIRef' is not defined") Traceback (most recent call last): File "/usr/lib/python3.7/doctest.py", line 1329, in __run compileflags, 1), test.globs) File "<doctest swh.indexer.metadata_dictionary.maven.MavenMapping.translate_licenses[5]>", line 1, in <module> NameError: name 'URIRef' is not defined /var/lib/jenkins/workspace/DCIDX/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/indexer/metadata_dictionary/maven.py:115: UnexpectedException