0
0
mirror of https://github.com/django/django.git synced 2024-11-24 20:07:01 +01:00
django/tests/forms_tests/widget_tests/test_telinput.py
2024-08-02 11:31:54 +02:00

13 lines
270 B
Python

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