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/delete_regress | |
parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
download | django-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/delete_regress')
-rw-r--r-- | tests/delete_regress/models.py | 2 | ||||
-rw-r--r-- | tests/delete_regress/tests.py | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/tests/delete_regress/models.py b/tests/delete_regress/models.py index 6afe84146c..c3ecdac7bf 100644 --- a/tests/delete_regress/models.py +++ b/tests/delete_regress/models.py @@ -1,5 +1,5 @@ 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/delete_regress/tests.py b/tests/delete_regress/tests.py index abfa248aea..d03ce3771f 100644 --- a/tests/delete_regress/tests.py +++ b/tests/delete_regress/tests.py @@ -3,14 +3,16 @@ from __future__ import unicode_literals import datetime from django.conf import settings -from django.db import transaction, DEFAULT_DB_ALIAS, models +from django.db import DEFAULT_DB_ALIAS, models, transaction from django.db.utils import ConnectionHandler from django.test import TestCase, TransactionTestCase, skipUnlessDBFeature -from .models import (Book, Award, AwardNote, Person, Child, Toy, PlayedWith, - PlayedWithNote, Email, Researcher, Food, Eaten, Policy, Version, Location, - Item, Image, File, Photo, FooFile, FooImage, FooPhoto, FooFileProxy, Login, - OrgUnit, OrderedPerson, House) +from .models import ( + Award, AwardNote, Book, Child, Eaten, Email, File, Food, FooFile, + FooFileProxy, FooImage, FooPhoto, House, Image, Item, Location, Login, + OrderedPerson, OrgUnit, Person, Photo, PlayedWith, PlayedWithNote, Policy, + Researcher, Toy, Version, +) # Can't run this test under SQLite, because you can't |