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/get_or_create | |
parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
download | django-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/get_or_create')
-rw-r--r-- | tests/get_or_create/tests.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/get_or_create/tests.py b/tests/get_or_create/tests.py index f15d84323d..a58e77ec0e 100644 --- a/tests/get_or_create/tests.py +++ b/tests/get_or_create/tests.py @@ -1,14 +1,16 @@ from __future__ import unicode_literals -from datetime import date import traceback +from datetime import date -from django.db import IntegrityError, DatabaseError -from django.utils.encoding import DjangoUnicodeDecodeError +from django.db import DatabaseError, IntegrityError from django.test import TestCase, TransactionTestCase, ignore_warnings +from django.utils.encoding import DjangoUnicodeDecodeError -from .models import (DefaultPerson, Person, ManualPrimaryKeyTest, Profile, - Tag, Thing, Publisher, Author, Book) +from .models import ( + Author, Book, DefaultPerson, ManualPrimaryKeyTest, Person, Profile, + Publisher, Tag, Thing, +) class GetOrCreateTests(TestCase): |