Skip to content

Commit

Permalink
testing sqlight tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-gray-tangent committed Apr 29, 2024
1 parent e0645f8 commit bb4e660
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"""

import os
import sys
from pathlib import Path

import environ
Expand Down Expand Up @@ -101,6 +102,9 @@
}
}

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

Expand Down

0 comments on commit bb4e660

Please sign in to comment.