mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-04-29 10:22:39 +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/*
|
/media/*
|
||||||
local_settings.py
|
local_settings.py
|
||||||
.venv
|
.venv
|
||||||
|
*venv*
|
||||||
mails.sqlite
|
mails.sqlite
|
||||||
package-lock.json
|
package-lock.json
|
||||||
static
|
static
|
||||||
|
|
|
@ -50,7 +50,7 @@ dev = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[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"
|
addopts = "-x --ff --isort --black --reuse-db --cov-report xml --cov-report term-missing --cov=la_chariotte -p no:warnings"
|
||||||
isort_ignore = ["*migrations/*.py"]
|
isort_ignore = ["*migrations/*.py"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue