summaryrefslogtreecommitdiff
path: root/tests/app_loading
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app_loading')
-rw-r--r--tests/app_loading/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/app_loading/tests.py b/tests/app_loading/tests.py
index a9dc70f4b1..291877108f 100644
--- a/tests/app_loading/tests.py
+++ b/tests/app_loading/tests.py
@@ -21,7 +21,7 @@ class EggLoadingTest(TestCase):
def tearDown(self):
app_cache.all_models['app_loading'] = self._old_models
- app_cache._get_models_cache = {}
+ app_cache.get_models.cache_clear()
sys.path = self.old_path