summaryrefslogtreecommitdiff
path: root/tests/model_formsets
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-28 07:35:27 -0500
committerTim Graham <timograham@gmail.com>2015-02-06 08:16:28 -0500
commit0ed7d155635da9f79d4dd67e4889087d3673c6da (patch)
treecf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/model_formsets
parent388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff)
downloaddjango-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz
Sorted imports with isort; refs #23860.
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):