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

def test_unknown_form(self):

    post_data = {u'text': u'Hello    World', u'email': u'not    an    email    address', u'value': 37, u'single': u'b', u'multi': (u'b', u'c', u'e')}
    response = self.client.post(u'/test_client/form_view/', post_data)
    self.assertEqual(response.status_code, 200)
    self.assertTemplateUsed(response, u'Invalid    POST    Template')
    try:
        self.assertFormError(response, u'wrong_form', u'some_field', u'Some    error.')
    except AssertionError as e:
        self.assertIn(u"The    form    'wrong_form'    was    not    used    to    render    the    response", str(e))
    try:
        self.assertFormError(response, u'wrong_form', u'some_field', u'Some    error.', msg_prefix=u'abc')
    except AssertionError as e:
        self.assertIn(u"abc:    The    form    'wrong_form'    was    not    used    to    render    the    response", str(e))
