summaryrefslogtreecommitdiff
path: root/tests/generic_relations
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/generic_relations
parent388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff)
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/generic_relations')
-rw-r--r--tests/generic_relations/models.py2
-rw-r--r--tests/generic_relations/tests.py9
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):