mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed BaseAppCache.app_store.
It was only storing redundant information. This is part of the effort to allow applications without a models module.
This commit is contained in:
@@ -20,12 +20,10 @@ class EggLoadingTest(TestCase):
|
||||
# need to be removed in order to prevent bad interactions
|
||||
# with the flush operation in other tests.
|
||||
self.old_app_models = copy.deepcopy(cache.app_models)
|
||||
self.old_app_store = copy.deepcopy(cache.app_store)
|
||||
|
||||
def tearDown(self):
|
||||
sys.path = self.old_path
|
||||
cache.app_models = self.old_app_models
|
||||
cache.app_store = self.old_app_store
|
||||
|
||||
def test_egg1(self):
|
||||
"""Models module can be loaded from an app in an egg"""
|
||||
|
||||
Reference in New Issue
Block a user