fuse_mntdir = PosixPath('/tmp/tmp5_9xndzk.swh-fuse-test')
def test_access_dir_target(fuse_mntdir):
target_path = fuse_mntdir / "archive" / REL_TARGET_DIR / "target"
> check_dir_name_entries(target_path, TARGET_DIR)
.tox/py3/lib/python3.7/site-packages/swh/fuse/tests/test_release.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dir_path = PosixPath('/tmp/tmp5_9xndzk.swh-fuse-test/archive/swh:1:rel:3a7b2dfffed2945d2933ba4ebc063adba35ddb2e/target')
dir_swhid = 'swh:1:dir:b24d39c928b9c3f440f8e2ec06c78f43d28d87d6'
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/tmp5_9xndzk.swh-fuse-test/archive/swh:1:rel:3a7b2dfffed2945d2933ba4ebc063adba35ddb2e/target'
.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