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

def test_unknown_form(self):

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