diff options
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 |
