1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

magic-removal: Changed unit tests to run with DEBUG = False

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-04-23 21:59:49 +00:00
parent 8b37669742
commit dee1af5d8b

View File

@ -76,6 +76,9 @@ class TestRunner:
# Manually set INSTALLED_APPS to point to the test models. # Manually set INSTALLED_APPS to point to the test models.
settings.INSTALLED_APPS = [MODEL_TESTS_DIR_NAME + '.' + a for a in get_test_models()] settings.INSTALLED_APPS = [MODEL_TESTS_DIR_NAME + '.' + a for a in get_test_models()]
# Manually set DEBUG = False.
settings.DEBUG = False
from django.db import connection from django.db import connection
from django.core import management from django.core import management
import django.db.models import django.db.models