diff options
Diffstat (limited to 'tests/custom_managers')
-rw-r--r-- | tests/custom_managers/models.py | 4 | ||||
-rw-r--r-- | tests/custom_managers/tests.py | 8 |
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): |