fuse_mntdir = PosixPath('/tmp/tmpyefga3q5.swh-fuse-test')
def test_access_root(fuse_mntdir):
dir_path = fuse_mntdir / "archive" / ROOT_REL / "root"
> check_dir_name_entries(dir_path, ROOT_DIR)
.tox/py3/lib/python3.7/site-packages/swh/fuse/tests/test_release.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dir_path = PosixPath('/tmp/tmpyefga3q5.swh-fuse-test/archive/swh:1:rel:874f7cbe352033cac5a8bc889847da2fe1d13e9f/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/tmpyefga3q5.swh-fuse-test/archive/swh:1:rel:874f7cbe352033cac5a8bc889847da2fe1d13e9f/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