example_tree = <swh.scanner.model.Tree object at 0x7f387e9dec88>
temp_folder = {'filesample': PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_generate_table_body0/subdir/filesample.txt'), 'filesamp...b9a060e54bf8d69288fbee4904', ...}, 'root': PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_generate_table_body0'), ...}
def test_generate_table_body(example_tree, temp_folder):
subdir_path = temp_folder["subdir"]
for path, swhid in temp_folder["paths"].items():
> example_tree.add_node(path, swhid, True)
E TypeError: add_node() takes 3 positional arguments but 4 were given
.tox/py3/lib/python3.7/site-packages/swh/scanner/tests/test_dashboard.py:15: TypeError
TEST RESULT
TEST RESULT
- Run At
- Dec 17 2020, 7:53 AM