diff --git a/app/app/settings.py b/app/app/settings.py index 26b59e85..88064c6b 100644 --- a/app/app/settings.py +++ b/app/app/settings.py @@ -108,6 +108,7 @@ "NAME": os.environ.get("DB_NAME"), "USER": os.environ.get("DB_USER"), "PASSWORD": os.environ.get("DB_PASSWORD"), + "TEST": {"NAME": "test_db"}, } } @@ -122,9 +123,6 @@ "host.docker.internal", ] -# Check if the application is under testing -if "test" in sys.argv or "test_coverage" in sys.argv: # Covers regular testing and django-coverage - DATABASES["default"]["ENGINE"] = "django.db.backends.sqlite3" # Password validation # https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators