diff --git a/src/borg/testsuite/conftest.py b/src/borg/conftest.py similarity index 99% rename from src/borg/testsuite/conftest.py rename to src/borg/conftest.py index 5e6b9c92d..affd317ce 100644 --- a/src/borg/testsuite/conftest.py +++ b/src/borg/conftest.py @@ -3,20 +3,18 @@ import pytest -from borg.testsuite.archiver import BORG_EXES - if hasattr(pytest, "register_assert_rewrite"): pytest.register_assert_rewrite("borg.testsuite") - -from borg.archiver import Archiver # noqa: E402 +# Ensure that the loggers exist for all tests from borg.logger import setup_logging # noqa: E402 -# Ensure that the loggers exist for all tests 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 are_symlinks_supported, are_hardlinks_supported, is_utime_fully_supported # noqa: E402 +from borg.testsuite.archiver import BORG_EXES from borg.testsuite.platform_test import fakeroot_detected # noqa: E402