summaryrefslogtreecommitdiff
path: root/tests/modeltests/proxy_model_inheritance/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeltests/proxy_model_inheritance/tests.py')
-rw-r--r--tests/modeltests/proxy_model_inheritance/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/proxy_model_inheritance/tests.py b/tests/modeltests/proxy_model_inheritance/tests.py
index a07958a13b..d10d6a4ac1 100644
--- a/tests/modeltests/proxy_model_inheritance/tests.py
+++ b/tests/modeltests/proxy_model_inheritance/tests.py
@@ -23,9 +23,9 @@ class ProxyModelInheritanceTests(TransactionTestCase):
settings.INSTALLED_APPS = ('app1', 'app2')
map(load_app, settings.INSTALLED_APPS)
call_command('syncdb', verbosity=0)
+ global ProxyModel, NiceModel
from app1.models import ProxyModel
from app2.models import NiceModel
- global ProxyModel, NiceModel
def tearDown(self):
settings.INSTALLED_APPS = self.old_installed_apps