From 1805bbb6cd477e0556123f645849d02d5c407a35 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 11 Jul 2006 03:09:14 +0000 Subject: [PATCH] Changed runtests.py to set USE_I18N=True for testing git-svn-id: http://code.djangoproject.com/svn/django/trunk@3319 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/runtests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/runtests.py b/tests/runtests.py index e5e9c18fca1..b98a7392495 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -99,8 +99,9 @@ class TestRunner: # Manually set INSTALLED_APPS to point to the test models. settings.INSTALLED_APPS = ALWAYS_INSTALLED_APPS + ['.'.join(a) for a in get_test_models()] - # Manually set DEBUG = False. + # Manually set DEBUG and USE_I18N. settings.DEBUG = False + settings.USE_I18N = True from django.db import connection from django.core import management