From 5b473f0cb377ba991de13a9ea1e1fa56221f9e97 Mon Sep 17 00:00:00 2001 From: Bastien Roy Date: Sat, 13 Apr 2024 16:29:19 +0200 Subject: [PATCH] Changement de settings pour les tests pour avoir les local_settings --- .gitignore | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f034085..2661c65 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ node_modules /media/* local_settings.py .venv +*venv* mails.sqlite package-lock.json static diff --git a/pyproject.toml b/pyproject.toml index 6ebc318..7745095 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]