Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Dec 11 2020, 12:48 PM
Details
example_tree = <swh.scanner.model.Tree object at 0x7f2d689c40f0> temp_folder = {'filesample': PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_tree_add_node0/subdir/filesample.txt'), 'filesample2': ...42cb6eb9a060e54bf8d69288fbee4904', ...}, 'root': PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_tree_add_node0'), ...} def test_tree_add_node(example_tree, temp_folder): avail_paths = temp_folder["paths"].keys() for path, swhid in temp_folder["paths"].items(): > example_tree.add_node(path, swhid, False) E TypeError: add_node() takes 3 positional arguments but 4 were given .tox/py3/lib/python3.7/site-packages/swh/scanner/tests/test_model.py:15: TypeError