django/tests/forms_tests/widget_tests/test_hiddeninput.py

11 lines
254 B
Python
Raw Normal View History

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" />')