Set up proper test settings
This commit is contained in:
parent
4e5388e514
commit
039b4a7031
2 changed files with 38 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue