summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-12-01 21:22:16 +0100
committerClaude Paroz <claude@2xlibre.net>2016-12-21 17:40:08 +0100
commit1206d7fa5793a86ffadeacb2e9280b11d474a58a (patch)
tree97e2531c7f8abb08cf78f7019339dd3ea894218d /tests/admin_views
parent0a8c685447eea8fc7aa34ea444a3156ee489379f (diff)
Refs #25753 -- Reset l10n cache when format settings change
Thanks Jaap Roes for the initial patch.
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/tests.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index b65439f8ac..2d86487e51 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -186,9 +186,6 @@ class AdminViewBasicTestCase(TestCase):
def setUp(self):
self.client.force_login(self.superuser)
- def tearDown(self):
- formats.reset_format_cache()
-
def assertContentBefore(self, response, text1, text2, failing_msg=None):
"""
Testing utility asserting that text1 appears before text2 in response
@@ -5301,9 +5298,6 @@ class DateHierarchyTests(TestCase):
def setUp(self):
self.client.force_login(self.superuser)
- def tearDown(self):
- formats.reset_format_cache()
-
def assert_non_localized_year(self, response, year):
"""
The year is not localized with USE_THOUSAND_SEPARATOR (#15234).