summaryrefslogtreecommitdiff
path: root/tests/model_formsets
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-02-09 13:19:34 -0500
committerTim Graham <timograham@gmail.com>2015-02-09 14:24:06 -0500
commita8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch)
tree94ef5bc53e59131906aecfcf792eeac86242aa62 /tests/model_formsets
parenteb406aa686ff1809903366ef6896037af2f1f69b (diff)
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'tests/model_formsets')
-rw-r--r--tests/model_formsets/tests.py18
1 files changed, 11 insertions, 7 deletions
diff --git a/tests/model_formsets/tests.py b/tests/model_formsets/tests.py
index acd05c9bf2..2d0380195b 100644
--- a/tests/model_formsets/tests.py
+++ b/tests/model_formsets/tests.py
@@ -8,16 +8,20 @@ from decimal import Decimal
from django import forms
from django.core.exceptions import ImproperlyConfigured
from django.db import models
-from django.forms.models import (_get_foreign_key, inlineformset_factory,
- modelformset_factory, BaseModelFormSet)
+from django.forms.models import (
+ BaseModelFormSet, _get_foreign_key, inlineformset_factory,
+ modelformset_factory,
+)
from django.test import TestCase, skipUnlessDBFeature
from django.utils import six
-from .models import (Author, BetterAuthor, Book, BookWithCustomPK,
- BookWithOptionalAltEditor, AlternateBook, AuthorMeeting, CustomPrimaryKey,
- Place, Owner, Location, OwnerProfile, Restaurant, Product, Price,
- MexicanRestaurant, ClassyMexicanRestaurant, Repository, Revision,
- Person, Membership, Team, Player, Poet, Poem, Post)
+from .models import (
+ AlternateBook, Author, AuthorMeeting, BetterAuthor, Book, BookWithCustomPK,
+ BookWithOptionalAltEditor, ClassyMexicanRestaurant, CustomPrimaryKey,
+ Location, Membership, MexicanRestaurant, Owner, OwnerProfile, Person,
+ Place, Player, Poem, Poet, Post, Price, Product, Repository, Restaurant,
+ Revision, Team,
+)
class DeletionTests(TestCase):