File: test_settings.py

package info (click to toggle)
python-django-pgtrigger 4.15.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 956 kB
  • sloc: python: 4,412; makefile: 114; sh: 8; sql: 2
file content (9 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
from settings import *

# Turn on pgtrigger migrations in the test suite
PGTRIGGER_MIGRATIONS = True

# We turn this on in tests to ensure that triggers are installed
# when the test database is set up. We dynamically turn it off
# when testing migrations.
PGTRIGGER_INSTALL_ON_MIGRATE = True