Author: aaugustin
Date: 2011-10-26 23:17:24 -0700 (Wed, 26 Oct 2011)
New Revision: 17043
Modified:
django/trunk/tests/regressiontests/cache/tests.py
Log:
Fixed a test isolation problem that remained after r17042.
Modified: django/trunk/tests/regressiontests/cache/tests.py
===================================================================
--- django/trunk/tests/regressiontests/cache/tests.py 2011-10-26 22:47:04 UTC
(rev 17042)
+++ django/trunk/tests/regressiontests/cache/tests.py 2011-10-27 06:17:24 UTC
(rev 17043)
@@ -1233,6 +1233,8 @@
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',
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.