'An assertion is raised if the formset name is unknown'

def test_unknown_formset(self):

    for (prefix, kwargs) in self.msg_prefixes:
        msg = (prefix + "The    formset    'wrong_formset'    was    not    used    to    render    the    response")
        with self.assertRaisesMessage(AssertionError, msg):
            self.assertFormsetError(self.response_form_errors, 'wrong_formset', 0, 'Some_field', 'Some    error.', **kwargs)
