diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-09 13:19:34 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-09 14:24:06 -0500 |
| commit | a8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch) | |
| tree | 94ef5bc53e59131906aecfcf792eeac86242aa62 /tests/get_or_create | |
| parent | eb406aa686ff1809903366ef6896037af2f1f69b (diff) | |
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
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): |
