File: settings_fast.py

package info (click to toggle)
python-django-tasks-db 0.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 344 kB
  • sloc: python: 2,227; sh: 5; makefile: 4
file content (5 lines) | stat: -rw-r--r-- 158 bytes parent folder | download
1
2
3
4
5
from .settings import *

# Unset custom test settings to use in-memory DB
if "sqlite" in DATABASES["default"]["ENGINE"]:
    del DATABASES["default"]["TEST"]