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_meta/tests.py | |
| parent | eb406aa686ff1809903366ef6896037af2f1f69b (diff) | |
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'tests/model_meta/tests.py')
| -rw-r--r-- | tests/model_meta/tests.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/model_meta/tests.py b/tests/model_meta/tests.py index 36b65f5ab8..4a08b408c6 100644 --- a/tests/model_meta/tests.py +++ b/tests/model_meta/tests.py @@ -1,13 +1,15 @@ from django.apps import apps -from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelation +from django.contrib.contenttypes.fields import ( + GenericForeignKey, GenericRelation, +) from django.core.exceptions import FieldDoesNotExist -from django.db.models.fields import related, CharField, Field -from django.db.models.options import IMMUTABLE_WARNING, EMPTY_RELATION_TREE +from django.db.models.fields import CharField, Field, related +from django.db.models.options import EMPTY_RELATION_TREE, IMMUTABLE_WARNING from django.test import TestCase from .models import ( - Relation, AbstractPerson, BasePerson, Person, ProxyPerson, Relating, - CommonAncestor, FirstParent, SecondParent, Child + AbstractPerson, BasePerson, Child, CommonAncestor, FirstParent, Person, + ProxyPerson, Relating, Relation, SecondParent, ) from .results import TEST_RESULTS |
