fuse_mntdir = PosixPath('/tmp/tmpu4myndo7.swh-fuse-test')
def test_access_meta_file(fuse_mntdir):
for swhid in ALL_ENTRIES:
# On the fly mounting
file_path_archive = fuse_mntdir / "archive" / swhid
file_path_archive.exists()
file_path_meta = fuse_mntdir / f"meta/{swhid}.json"
> assert file_path_meta.exists()
E AssertionError: assert False
E + where False = <bound method Path.exists of PosixPath('/tmp/tmpu4myndo7.swh-fuse-test/meta/swh:1:cnt:61d3c9e1157203f0c4ed5165608d92294eaca808.json')>()
E + where <bound method Path.exists of PosixPath('/tmp/tmpu4myndo7.swh-fuse-test/meta/swh:1:cnt:61d3c9e1157203f0c4ed5165608d92294eaca808.json')> = PosixPath('/tmp/tmpu4myndo7.swh-fuse-test/meta/swh:1:cnt:61d3c9e1157203f0c4ed5165608d92294eaca808.json').exists
.tox/py3/lib/python3.7/site-packages/swh/fuse/tests/test_meta.py:14: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Nov 25 2020, 3:51 PM