| 1 |
from django.forms import TelInput |
| 2 |
|
| 3 |
from .base import WidgetTest |
| 4 |
|
| 5 |
|
| 6 |
class TelInputTest(WidgetTest): |
| 7 |
widget = TelInput() |
| 8 |
|
| 9 |
def test_render(self): |
| 10 |
self.check_html( |
| 11 |
self.widget, "telephone", "", html='<input type="tel" name="telephone">' |
| 12 |
) |