diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-29 21:24:40 +0100 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-29 21:25:28 +0100 |
commit | 38ce41103fecf58418163b19403608988a291b56 (patch) | |
tree | cffc9d2a26fff2ad79c24f0d7b63694f58499d0b /tests/app_loading | |
parent | 8cfcd801c4b2e6402c1c814f64db99a5b7501170 (diff) | |
download | django-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.py | 2 |
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 |