diff options
| author | Tim Graham <timograham@gmail.com> | 2015-01-28 07:35:27 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-06 08:16:28 -0500 |
| commit | 0ed7d155635da9f79d4dd67e4889087d3673c6da (patch) | |
| tree | cf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/generic_relations | |
| parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/generic_relations')
| -rw-r--r-- | tests/generic_relations/models.py | 2 | ||||
| -rw-r--r-- | tests/generic_relations/tests.py | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/tests/generic_relations/models.py b/tests/generic_relations/models.py index cd013e580a..1f1872dd0f 100644 --- a/tests/generic_relations/models.py +++ b/tests/generic_relations/models.py @@ -12,7 +12,7 @@ from complete). from __future__ import unicode_literals from django.contrib.contenttypes.fields import ( - GenericForeignKey, GenericRelation + GenericForeignKey, GenericRelation, ) from django.contrib.contenttypes.models import ContentType from django.db import models diff --git a/tests/generic_relations/tests.py b/tests/generic_relations/tests.py index bc2cfaa579..05ce20f078 100644 --- a/tests/generic_relations/tests.py +++ b/tests/generic_relations/tests.py @@ -8,10 +8,11 @@ from django.db.models import Q from django.test import TestCase from django.utils import six -from .models import (TaggedItem, ValuableTaggedItem, Comparison, Animal, - Vegetable, Mineral, Gecko, Rock, ManualPK, - ForProxyModelModel, ForConcreteModelModel, - ProxyRelatedModel, ConcreteRelatedModel, AllowsNullGFK) +from .models import ( + AllowsNullGFK, Animal, Comparison, ConcreteRelatedModel, + ForConcreteModelModel, ForProxyModelModel, Gecko, ManualPK, Mineral, + ProxyRelatedModel, Rock, TaggedItem, ValuableTaggedItem, Vegetable, +) class GenericRelationsTests(TestCase): |
