Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9311846
test_cli.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
602 B
Subscribers
None
test_cli.py
View Options
# Copyright (C) 2020 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
import
os
from
swh.fuse.tests.data.config
import
REGULAR_FILE
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
()
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Thu, Jul 3, 10:34 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3274730
Attached To
rDFUSE FUSE virtual file system
Event Timeline
Log In to Comment