mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 13:14:28 +03:00
Change pytest import mode to importlib
This commit is contained in:
parent
bca7d02f0a
commit
b9e88f94a7
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user