From dae81c6ec62a76c1f28745ae3642c2d4a37ce259 Mon Sep 17 00:00:00 2001 From: Moritz Sichert Date: Wed, 9 Sep 2015 15:14:07 +0200 Subject: [PATCH] Refs #25300 -- Fixed reference to TextInput in a test. --- tests/forms_tests/tests/test_forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py index 8aece32c90..d8cdabae2d 100644 --- a/tests/forms_tests/tests/test_forms.py +++ b/tests/forms_tests/tests/test_forms.py @@ -2301,8 +2301,8 @@ class FormsTestCase(SimpleTestCase): unless it is `None`. """ class SomeForm(Form): - field = CharField(widget=forms.TextInput(attrs={'id': 'myCustomID'})) - field_none = CharField(widget=forms.TextInput(attrs={'id': None})) + field = CharField(widget=TextInput(attrs={'id': 'myCustomID'})) + field_none = CharField(widget=TextInput(attrs={'id': None})) form = SomeForm() self.assertEqual(form['field'].id_for_label, 'myCustomID')