mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-04-28 18:02:43 +02:00
Changement de settings pour les tests pour avoir les local_settings
This commit is contained in:
parent
5e5a462e45
commit
5b473f0cb3
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,6 +7,7 @@ node_modules
|
|||
/media/*
|
||||
local_settings.py
|
||||
.venv
|
||||
*venv*
|
||||
mails.sqlite
|
||||
package-lock.json
|
||||
static
|
||||
|
|
|
@ -50,7 +50,7 @@ dev = [
|
|||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
DJANGO_SETTINGS_MODULE = "la_chariotte.settings"
|
||||
DJANGO_SETTINGS_MODULE = "local_settings"
|
||||
addopts = "-x --ff --isort --black --reuse-db --cov-report xml --cov-report term-missing --cov=la_chariotte -p no:warnings"
|
||||
isort_ignore = ["*migrations/*.py"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue