fuse_mntdir = PosixPath('/tmp/tmpb6jvkvvn.swh-fuse-test')
def test_mountpoint(fuse_mntdir):
archive_dir = fuse_mntdir / "archive"
meta_dir = fuse_mntdir / "meta"
assert os.listdir(archive_dir) == []
assert os.listdir(meta_dir) == []
# On the fly mounting
file_path = archive_dir / REGULAR_FILE
> assert file_path.is_file()
E AssertionError: assert False
E + where False = <bound method Path.is_file of PosixPath('/tmp/tmpb6jvkvvn.swh-fuse-test/archive/swh:1:cnt:61d3c9e1157203f0c4ed5165608d92294eaca808')>()
E + where <bound method Path.is_file of PosixPath('/tmp/tmpb6jvkvvn.swh-fuse-test/archive/swh:1:cnt:61d3c9e1157203f0c4ed5165608d92294eaca808')> = PosixPath('/tmp/tmpb6jvkvvn.swh-fuse-test/archive/swh:1:cnt:61d3c9e1157203f0c4ed5165608d92294eaca808').is_file
.tox/py3/lib/python3.7/site-packages/swh/fuse/tests/test_cli.py:18: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Nov 25 2020, 3:51 PM