﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28421	Formset test contain too many assert	Windson yang	nobody	"In 
https://github.com/django/django/blob/master/tests/forms_tests/tests/test_formsets.py#L494

It contains

{{{
self.assertHTMLEqual(
            '\n'.join(form_output),
            """"""<li>Choice: <input type=""text"" name=""choices-0-choice"" value=""Calexico"" /></li>
        )
}}}


{{{
self.assertTrue(formset.is_valid())
self.assertEqual(
            [form.cleaned_data for form in formset.forms],
            [
                {'votes': 100, 'DELETE': False, 'choice': 'Calexico'},
                {'votes': 900, 'DELETE': True, 'choice': 'Fergie'},
                {},
            ]
        )
}}}

and a lot of assert in the same function, maybe we should divide the function into multiple small tests."	Cleanup/optimization	new	Forms	1.11	Normal				Unreviewed	0	0	0	0	0	0
