mirror of
https://github.com/django/django.git
synced 2025-09-14 06:25:15 +00:00
12 lines
270 B
Python
12 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">'
|
|
)
|