summaryrefslogtreecommitdiff
path: root/tests/proxy_models/tests.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-11 22:19:19 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-17 10:17:44 +0100
commit9217b89da3295116a098ae2a071a3c4a64a0a5d0 (patch)
tree88eb0884efa3b0bdbf6107113045f5e62f6c19ce /tests/proxy_models/tests.py
parent860c2c8bc5c77194c41464655851379bf512a052 (diff)
downloaddjango-9217b89da3295116a098ae2a071a3c4a64a0a5d0.tar.gz
Removed BaseAppCache.app_store.
It was only storing redundant information. This is part of the effort to allow applications without a models module.
Diffstat (limited to 'tests/proxy_models/tests.py')
-rw-r--r--tests/proxy_models/tests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/proxy_models/tests.py b/tests/proxy_models/tests.py
index a900366744..5b9433bbf7 100644
--- a/tests/proxy_models/tests.py
+++ b/tests/proxy_models/tests.py
@@ -160,7 +160,6 @@ class ProxyModelTests(TestCase):
# need to be removed in order to prevent bad interactions
# with the flush operation in other tests.
old_app_models = copy.deepcopy(cache.app_models)
- old_app_store = copy.deepcopy(cache.app_store)
class SwappableModel(models.Model):
@@ -178,7 +177,6 @@ class ProxyModelTests(TestCase):
proxy = True
finally:
cache.app_models = old_app_models
- cache.app_store = old_app_store
def test_myperson_manager(self):
Person.objects.create(name="fred")