pytest report header: report llfuse/pyfuse3/mfusepy

This commit is contained in:
Thomas Waldmann 2025-12-05 17:43:51 +01:00
parent 43c7878a56
commit 3e676e95c1
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
2 changed files with 5 additions and 4 deletions

View file

@ -12,7 +12,7 @@ from borg.logger import setup_logging # noqa: E402
setup_logging()
from borg.archiver import Archiver # noqa: E402
from borg.testsuite import has_lchflags, has_llfuse, has_pyfuse3 # noqa: E402
from borg.testsuite import has_lchflags, has_llfuse, has_pyfuse3, has_mfusepy # noqa: E402
from borg.testsuite import are_symlinks_supported, are_hardlinks_supported, is_utime_fully_supported # noqa: E402
from borg.testsuite.archiver import BORG_EXES
from borg.testsuite.platform.platform_test import fakeroot_detected # noqa: E402
@ -37,8 +37,9 @@ def clean_env(tmpdir_factory, monkeypatch):
def pytest_report_header(config, start_path):
tests = {
"BSD flags": has_lchflags,
"fuse2": has_llfuse,
"fuse3": has_pyfuse3,
"llfuse": has_llfuse,
"pyfuse3": has_pyfuse3,
"mfusepy": has_mfusepy,
"root": not fakeroot_detected(),
"symlinks": are_symlinks_supported(),
"hardlinks": are_hardlinks_supported(),

View file

@ -20,7 +20,7 @@ try:
except: # noqa
raises = None
from ..fuse_impl import llfuse, has_llfuse, has_pyfuse3 # NOQA
from ..fuse_impl import llfuse, has_llfuse, has_pyfuse3, has_mfusepy # NOQA
from .. import platform
from ..platformflags import is_win32, is_darwin