summaryrefslogtreecommitdiff
path: root/tests/forms_tests
diff options
context:
space:
mode:
authorTies Jan Hefting <hello@tiesjan.com>2021-08-03 12:30:17 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-08-03 12:53:45 +0200
commit47cb85b542470e1712b5d71b0d3d0ec8c7b0dbdc (patch)
treee298b0deefc3d4e108319c49b6c07185d650ff71 /tests/forms_tests
parentae89daf46f83a7b39d599d289624c3377bfa4ab1 (diff)
Fixed typos in tests/forms_tests/tests/test_formsets.py.
Diffstat (limited to 'tests/forms_tests')
-rw-r--r--tests/forms_tests/tests/test_formsets.py6
1 files changed, 3 insertions, 3 deletions
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, '<input type="hidden" name="form-0-ORDER">'),
+ (OrderingAttributeFormSet, '<input type="hidden" name="form-0-ORDER">'),
(OrderingMethodFormSet, '<input class="ordering" type="hidden" name="form-0-ORDER">'),
)
for formset_class, order_html in tests: