diff options
Diffstat (limited to 'tests/model_formsets')
-rw-r--r-- | tests/model_formsets/tests.py | 18 |
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): |