Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.scanner.tests.test_scanner::test_scanner_result
Failed

TEST RESULT

Run At
Jul 7 2021, 5:07 PM
Details
live_server = <[AttributeError("'LiveServer' object has no attribute 'url'") raised in repr()] LiveServer object at 0x7f72a1cd6898> event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> source_tree = Directory(id=0a7b61ef5780b03aa274d11069564980246445ce, entries=[b'some-binary', b'link-to-another-quote', b'foo', b'toexclude', b'bar', b'link-to-foo']) def test_scanner_result(live_server, event_loop, source_tree): api_url = url_for("index", _external=True) config = {"web-api": {"url": api_url, "auth-token": None}} nodes_data = MerkleNodeInfo() event_loop.run_until_complete(run(config, source_tree, nodes_data)) for node in source_tree.iter_tree(): node_swhid = str(node.swhid()) if node_swhid in unknown_swhids: > assert nodes_data[node_swhid]["known"] is False E KeyError: 'swh:1:dir:0a7b61ef5780b03aa274d11069564980246445ce' .tox/py3/lib/python3.7/site-packages/swh/scanner/tests/test_scanner.py:69: KeyError