diff --git a/tests/forms_tests/tests/test_formsets.py b/tests/forms_tests/tests/test_formsets.py index 329b513f3a..1705d8bb6b 100644 --- a/tests/forms_tests/tests/test_formsets.py +++ b/tests/forms_tests/tests/test_formsets.py @@ -7,7 +7,10 @@ from django.forms import ( BaseForm, CharField, DateField, FileField, Form, IntegerField, SplitDateTimeField, formsets, ) -from django.forms.formsets import BaseFormSet, all_valid, formset_factory +from django.forms.formsets import ( + INITIAL_FORM_COUNT, MAX_NUM_FORM_COUNT, MIN_NUM_FORM_COUNT, + TOTAL_FORM_COUNT, BaseFormSet, ManagementForm, all_valid, formset_factory, +) from django.forms.utils import ErrorList from django.forms.widgets import HiddenInput from django.test import SimpleTestCase @@ -998,6 +1001,18 @@ class FormsFormsetTestCase(SimpleTestCase):