mirror of https://github.com/django/django.git
Fixed a test isolation problem that remained after r17042.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
0cf139d201
commit
a693bbe0ac
|
@ -1233,6 +1233,8 @@ class CacheI18nTest(TestCase):
|
|||
translation.activate('es')
|
||||
get_cache_data = FetchFromCacheMiddleware().process_request(request)
|
||||
self.assertEqual(get_cache_data.content, es_message)
|
||||
# reset the language
|
||||
translation.deactivate()
|
||||
|
||||
CacheI18nTest = override_settings(
|
||||
CACHE_MIDDLEWARE_KEY_PREFIX='settingsprefix',
|
||||
|
|
Loading…
Reference in New Issue