summaryrefslogtreecommitdiff
path: root/tests/forms_tests
diff options
context:
space:
mode:
authorMoritz Sichert <moritz.sichert@googlemail.com>2015-09-09 15:14:07 +0200
committerTim Graham <timograham@gmail.com>2015-09-09 09:28:48 -0400
commitdae81c6ec62a76c1f28745ae3642c2d4a37ce259 (patch)
tree175b4bc739bdc85616c52decd3ed7618bcff2586 /tests/forms_tests
parentf2f8972def26cea2b0e8dbe763e11436d194e3d4 (diff)
Refs #25300 -- Fixed reference to TextInput in a test.
Diffstat (limited to 'tests/forms_tests')
-rw-r--r--tests/forms_tests/tests/test_forms.py4
1 files 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')