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
This commit is contained in:
Adrian Holovaty 2006-07-11 03:09:14 +00:00
parent 93b21610b9
commit 1805bbb6cd
1 changed files with 2 additions and 1 deletions

View File

@ -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