fuse_mntdir = '/tmp/tmp549o82m3.swh-fuse-test'
def test_ls_root_swhid(fuse_mntdir):
swhid_dir = Path(fuse_mntdir, "archive", ROOT_SWHID)
expected = [
".clang-format",
".cocciconfig",
".get_maintainer.ignore",
".gitattributes",
".gitignore",
".mailmap",
"COPYING",
"CREDITS",
"Documentation",
"Kbuild",
"Kconfig",
"LICENSES",
"MAINTAINERS",
"Makefile",
"README",
"arch",
"block",
"certs",
"crypto",
"drivers",
"fs",
"include",
"init",
"ipc",
"kernel",
"lib",
"mm",
"net",
"samples",
"scripts",
"security",
"sound",
"tools",
"usr",
"virt",
]
> actual = listdir(swhid_dir)
E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp549o82m3.swh-fuse-test/archive/swh:1:dir:9eb62ef7dd283f7385e7d31af6344d9feedd25de'
.tox/py3/lib/python3.7/site-packages/swh/fuse/tests/test_directory.py:46: FileNotFoundError
TEST RESULT
TEST RESULT
- Run At
- Oct 1 2020, 2:04 PM