summaryrefslogtreecommitdiff
path: root/tests/tablespaces
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-29 21:24:40 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-29 21:25:28 +0100
commit38ce41103fecf58418163b19403608988a291b56 (patch)
treecffc9d2a26fff2ad79c24f0d7b63694f58499d0b /tests/tablespaces
parent8cfcd801c4b2e6402c1c814f64db99a5b7501170 (diff)
Used Apps.clear_cache() in tests that alter the app registry.
Diffstat (limited to 'tests/tablespaces')
-rw-r--r--tests/tablespaces/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tablespaces/tests.py b/tests/tablespaces/tests.py
index 5e22608551..8c69e70a19 100644
--- a/tests/tablespaces/tests.py
+++ b/tests/tablespaces/tests.py
@@ -37,7 +37,7 @@ class TablespacesTests(TestCase):
apps.app_configs['tablespaces'].models = self._old_models
apps.all_models['tablespaces'] = self._old_models
- apps.get_models.cache_clear()
+ apps.clear_cache()
def assertNumContains(self, haystack, needle, count):
real_count = haystack.count(needle)