fuse_mntdir = PosixPath('/tmp/tmpju7bdpp8.swh-fuse-test')
def test_list_parents(fuse_mntdir):
rev_meta = get_data_from_web_archive(ROOT_REV)
dir_path = fuse_mntdir / "archive" / ROOT_REV / "parents"
for i, parent in enumerate(rev_meta["parents"]):
parent_path = dir_path / str(i + 1)
parent_swhid = f"swh:1:rev:{parent['id']}"
> assert parent_path.is_symlink()
E AssertionError: assert False
E + where False = <bound method Path.is_symlink of PosixPath('/tmp/tmpju7bdpp8.swh-fuse-test/archive/swh:1:rev:b8cedc00407a4c56a3bda1ed605c6fc166655447/parents/1')>()
E + where <bound method Path.is_symlink of PosixPath('/tmp/tmpju7bdpp8.swh-fuse-test/archive/swh:1:rev:b8cedc00407a4c56a3bda1ed605c6fc166655447/parents/1')> = PosixPath('/tmp/tmpju7bdpp8.swh-fuse-test/archive/swh:1:rev:b8cedc00407a4c56a3bda1ed605c6fc166655447/parents/1').is_symlink
.tox/py3/lib/python3.7/site-packages/swh/fuse/tests/test_revision.py:35: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Nov 25 2020, 3:46 PM