mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
11 lines
254 B
Python
11 lines
254 B
Python
|
from django.forms import HiddenInput
|
||
|
|
||
|
from .base import WidgetTest
|
||
|
|
||
|
|
||
|
class HiddenInputTest(WidgetTest):
|
||
|
widget = HiddenInput()
|
||
|
|
||
|
def test_render(self):
|
||
|
self.check_html(self.widget, 'email', '', html='<input type="hidden" name="email" />')
|