From dee1af5d8ba80054daeb8b0ad7b89dcf78f22a84 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 23 Apr 2006 21:59:49 +0000 Subject: [PATCH] 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 --- tests/runtests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/runtests.py b/tests/runtests.py index 3ea256869d..3f8eda6ab4 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -76,6 +76,9 @@ class TestRunner: # Manually set INSTALLED_APPS to point to the 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.core import management import django.db.models