django/tests/forms_tests/widget_tests/test_telinput.py

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

13 lines
270 B
Python
Raw Permalink Normal View History

2024-07-18 23:26:46 +00:00
from django.forms import TelInput
from .base import WidgetTest
class TelInputTest(WidgetTest):
widget = TelInput()
def test_render(self):
self.check_html(
self.widget, "telephone", "", html='<input type="tel" name="telephone">'
)