summaryrefslogtreecommitdiff
path: root/tests/custom_managers
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/custom_managers
parent388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff)
downloaddjango-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/custom_managers')
-rw-r--r--tests/custom_managers/models.py4
-rw-r--r--tests/custom_managers/tests.py8
2 files changed, 8 insertions, 4 deletions
diff --git a/tests/custom_managers/models.py b/tests/custom_managers/models.py
index d4ca730629..0444d40f58 100644
--- a/tests/custom_managers/models.py
+++ b/tests/custom_managers/models.py
@@ -11,7 +11,9 @@ returns.
from __future__ import unicode_literals
-from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelation
+from django.contrib.contenttypes.fields import (
+ GenericForeignKey, GenericRelation,
+)
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
diff --git a/tests/custom_managers/tests.py b/tests/custom_managers/tests.py
index c115482802..7dc5552e41 100644
--- a/tests/custom_managers/tests.py
+++ b/tests/custom_managers/tests.py
@@ -4,9 +4,11 @@ from django.db import models
from django.test import TestCase
from django.utils import six
-from .models import (Book, Car, CustomManager, CustomQuerySet,
- DeconstructibleCustomManager, FunPerson, OneToOneRestrictedModel, Person,
- PersonManager, PublishedBookManager, RelatedModel, RestrictedModel)
+from .models import (
+ Book, Car, CustomManager, CustomQuerySet, DeconstructibleCustomManager,
+ FunPerson, OneToOneRestrictedModel, Person, PersonManager,
+ PublishedBookManager, RelatedModel, RestrictedModel,
+)
class CustomManagerTests(TestCase):