summaryrefslogtreecommitdiff
path: root/tests/model_inheritance
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-28 07:35:27 -0500
committerTim Graham <timograham@gmail.com>2015-02-06 08:16:28 -0500
commit0ed7d155635da9f79d4dd67e4889087d3673c6da (patch)
treecf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/model_inheritance
parent388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff)
downloaddjango-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/model_inheritance')
-rw-r--r--tests/model_inheritance/models.py1
-rw-r--r--tests/model_inheritance/same_model_name/models.py4
-rw-r--r--tests/model_inheritance/tests.py7
3 files changed, 7 insertions, 5 deletions
diff --git a/tests/model_inheritance/models.py b/tests/model_inheritance/models.py
index af28159757..a77ab15f70 100644
--- a/tests/model_inheritance/models.py
+++ b/tests/model_inheritance/models.py
@@ -16,6 +16,7 @@ from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
+
#
# Abstract base classes
#
diff --git a/tests/model_inheritance/same_model_name/models.py b/tests/model_inheritance/same_model_name/models.py
index 307a505ee6..6b45e28dfe 100644
--- a/tests/model_inheritance/same_model_name/models.py
+++ b/tests/model_inheritance/same_model_name/models.py
@@ -5,9 +5,9 @@ requiring an %(app_label)s format string. This app tests this feature by
redefining the Copy model from model_inheritance/models.py.
"""
-from django.db import models
-
from model_inheritance.models import NamedURL
+
+from django.db import models
from django.utils.encoding import python_2_unicode_compatible
diff --git a/tests/model_inheritance/tests.py b/tests/model_inheritance/tests.py
index a732464e69..3c4f71d934 100644
--- a/tests/model_inheritance/tests.py
+++ b/tests/model_inheritance/tests.py
@@ -10,9 +10,10 @@ from django.test.utils import CaptureQueriesContext
from django.utils import six
from .models import (
- Chef, CommonInfo, ItalianRestaurant, ParkingLot, Place, Post,
- Restaurant, Student, Supplier, Worker, MixinModel,
- Title, Copy, Base, SubBase, GrandParent, GrandChild)
+ Base, Chef, CommonInfo, Copy, GrandChild, GrandParent, ItalianRestaurant,
+ MixinModel, ParkingLot, Place, Post, Restaurant, Student, SubBase,
+ Supplier, Title, Worker,
+)
class ModelInheritanceTests(TestCase):