diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-31 16:23:42 +0100 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-31 17:30:58 +0100 |
commit | c40209dcc09f19524fb85251f39a4051491bbec0 (patch) | |
tree | f7788f18e608acf0befab73b3391fea4c21a7066 /tests/proxy_model_inheritance | |
parent | 5dfec4e23b4a3b81f8ec19bf0cf45147ad6b18e5 (diff) | |
download | django-c40209dcc09f19524fb85251f39a4051491bbec0.tar.gz |
Made it possible to change an application's label in its configuration.
Fixed #21683.
Diffstat (limited to 'tests/proxy_model_inheritance')
-rw-r--r-- | tests/proxy_model_inheritance/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/proxy_model_inheritance/tests.py b/tests/proxy_model_inheritance/tests.py index 06b47ff82d..5ad5e08c25 100644 --- a/tests/proxy_model_inheritance/tests.py +++ b/tests/proxy_model_inheritance/tests.py @@ -1,4 +1,4 @@ -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals import os import sys @@ -29,8 +29,8 @@ class ProxyModelInheritanceTests(TransactionTestCase): def test_table_exists(self): with self.modify_settings(INSTALLED_APPS={'append': ['app1', 'app2']}): call_command('migrate', verbosity=0) - from .app1.models import ProxyModel - from .app2.models import NiceModel + from app1.models import ProxyModel + from app2.models import NiceModel self.assertEqual(NiceModel.objects.all().count(), 0) self.assertEqual(ProxyModel.objects.all().count(), 0) |