diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-09 13:19:34 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-09 14:24:06 -0500 |
| commit | a8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch) | |
| tree | 94ef5bc53e59131906aecfcf792eeac86242aa62 /tests/model_inheritance | |
| parent | eb406aa686ff1809903366ef6896037af2f1f69b (diff) | |
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'tests/model_inheritance')
| -rw-r--r-- | tests/model_inheritance/models.py | 1 | ||||
| -rw-r--r-- | tests/model_inheritance/same_model_name/models.py | 4 | ||||
| -rw-r--r-- | tests/model_inheritance/tests.py | 7 |
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 7ee7e19a12..d11f50d476 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): |
