Set up proper test settings

This commit is contained in:
Tobias Kunze 2025-09-26 13:53:41 +02:00
parent 4e5388e514
commit 039b4a7031
2 changed files with 38 additions and 1 deletions

View file

@ -54,7 +54,7 @@ ignore = "E203,W503"
extend_exclude = "src/servala/static/mazer"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "servala.settings"
DJANGO_SETTINGS_MODULE = "servala.settings_test"
addopts = "-p no:doctest -p no:pastebin -p no:nose --cov=./ --cov-report=term-missing:skip-covered"
testpaths = "src/tests"
pythonpath = "src"