0
0
mirror of https://github.com/django/django.git synced 2024-11-22 11:57:34 +01:00
django/tests/forms_tests/widget_tests/test_searchinput.py
2024-07-31 13:11:45 +02:00

13 lines
276 B
Python

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