Change pytest import mode to importlib

This commit is contained in:
GvS 2024-03-29 12:06:05 +00:00 committed by GitHub
parent bca7d02f0a
commit b9e88f94a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
# ==== pytest ==== # ==== pytest ====
[tool.pytest.ini_options] [tool.pytest.ini_options]
minversion = "6.0" minversion = "6.0"
addopts = "--ds=config.settings.test --reuse-db" addopts = "--ds=config.settings.test --reuse-db --import-mode=importlib"
python_files = [ python_files = [
"tests.py", "tests.py",
"test_*.py", "test_*.py",