mirror of https://github.com/django/django.git
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:
parent
93b21610b9
commit
1805bbb6cd
|
@ -99,8 +99,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 = ALWAYS_INSTALLED_APPS + ['.'.join(a) for a in get_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.DEBUG = False
|
||||||
|
settings.USE_I18N = True
|
||||||
|
|
||||||
from django.db import connection
|
from django.db import connection
|
||||||
from django.core import management
|
from django.core import management
|
||||||
|
|
Loading…
Reference in New Issue