def assert_form_renders(self, form, html):
    self.assertHTMLEqual(str(form), self._get_form_str(html))
def assert_form_renders(self, form, html):
    self.assertHTMLEqual(str(form), self._get_form_str(html))