summaryrefslogtreecommitdiff
path: root/tests/app_loading
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/app_loading
parent8cfcd801c4b2e6402c1c814f64db99a5b7501170 (diff)
downloaddjango-38ce41103fecf58418163b19403608988a291b56.tar.gz
Used Apps.clear_cache() in tests that alter the app registry.
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 fddf75f30e..5219b5315d 100644
--- a/tests/app_loading/tests.py
+++ b/tests/app_loading/tests.py
@@ -21,7 +21,7 @@ class EggLoadingTest(TestCase):
def tearDown(self):
apps.all_models['app_loading'] = self._old_models
- apps.get_models.cache_clear()
+ apps.clear_cache()
sys.path = self.old_path