

def test_render(self):
    html = '<input data-fancy="cron" type="hidden" name="timing"'
    html += ' id="id_timing" data-allow_multiple_dom="1"'
    html += ' data-allow_multiple_dow="1" data-allow_multiple_hour="1"'
    html += ' data-allow_multiple_minute="1" data-allow_multiple_month="1"'
    html += ' data-use_gentle_select="1" />'
    self.check_html(widget=self.widget, name='timing', value='', html=html, attrs={
        'id': 'id_timing',
    })

dataset/ETHPy150Open saeedsq/django-fancy-cronfield/fancy_cronfield/tests/test_widgets.py CronWidgetTests.test_render/original