django/tests/forms_tests/widget_tests/test_searchinput.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
276 B
Python
Raw Normal View History

from django.forms import SearchInput
from .base import WidgetTest
class SearchInputTest(WidgetTest):
widget = SearchInput()
def test_render(self):
self.check_html(
self.widget, "search", "", html='<input type="search" name="search">'
)