Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit a693bbe0ac47c5ae36501bfd9f30ee28e723cb6c 1 parent 0cf139d
@aaugustin aaugustin authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  tests/regressiontests/cache/tests.py
View
2  tests/regressiontests/cache/tests.py
@@ -1233,6 +1233,8 @@ def set_cache(request, lang, msg):
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',
Please sign in to comment.
Something went wrong with that request. Please try again.