diff --git a/tests/forms_tests/tests/test_formsets.py b/tests/forms_tests/tests/test_formsets.py index 5afb816f7f..5da7182d5c 100644 --- a/tests/forms_tests/tests/test_formsets.py +++ b/tests/forms_tests/tests/test_formsets.py @@ -602,8 +602,8 @@ class FormsFormsetTestCase(SimpleTestCase): ], ) - def test_formsets_with_order_custom_widget(self): - class OrderingAttributFormSet(BaseFormSet): + def test_formsets_with_ordering_custom_widget(self): + class OrderingAttributeFormSet(BaseFormSet): ordering_widget = HiddenInput class OrderingMethodFormSet(BaseFormSet): @@ -611,7 +611,7 @@ class FormsFormsetTestCase(SimpleTestCase): return HiddenInput(attrs={'class': 'ordering'}) tests = ( - (OrderingAttributFormSet, ''), + (OrderingAttributeFormSet, ''), (OrderingMethodFormSet, ''), ) for formset_class, order_html in tests: