fuse_mntdir = PosixPath('/tmp/tmpzprkldyc.swh-fuse-test')
def test_list_root(fuse_mntdir):
dir_path = fuse_mntdir / "archive" / ROOT_REV / "root"
> check_dir_name_entries(dir_path, ROOT_DIR)
.tox/py3/lib/python3.7/site-packages/swh/fuse/tests/test_revision.py:26:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dir_path = PosixPath('/tmp/tmpzprkldyc.swh-fuse-test/archive/swh:1:rev:b8cedc00407a4c56a3bda1ed605c6fc166655447/root')
dir_swhid = 'swh:1:dir:c6dcbe9711ea6d5a31429a833a3d0c59cbbb2578'
def check_dir_name_entries(dir_path: Path, dir_swhid: str) -> None:
expected = get_dir_name_entries(dir_swhid)
> actual = os.listdir(dir_path)
E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpzprkldyc.swh-fuse-test/archive/swh:1:rev:b8cedc00407a4c56a3bda1ed605c6fc166655447/root'
.tox/py3/lib/python3.7/site-packages/swh/fuse/tests/common.py:44: FileNotFoundError
TEST RESULT
TEST RESULT
- Run At
- Nov 25 2020, 3:51 PM