

def check_html(self, widget, name, value, html='', attrs=None, **kwargs):
    output = widget.render(name, value, attrs=attrs, **kwargs)
    self.assertHTMLEqual(output, html)

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