summaryrefslogtreecommitdiff
path: root/tests/generic_relations
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-02-09 13:19:34 -0500
committerTim Graham <timograham@gmail.com>2015-02-09 14:24:06 -0500
commita8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch)
tree94ef5bc53e59131906aecfcf792eeac86242aa62 /tests/generic_relations
parenteb406aa686ff1809903366ef6896037af2f1f69b (diff)
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
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 c6230b057e..f886d3dc9d 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):