'POST incomplete data to a form using multiple templates'

def test_incomplete_data_form_with_template(self):

    post_data = {u'text': u'Hello    World', u'value': 37}
    response = self.client.post(u'/test_client/form_view_with_template/', post_data)
    self.assertContains(response, u'POST    data    has    errors')
    self.assertTemplateUsed(response, u'form_view.html')
    self.assertTemplateUsed(response, u'base.html')
    self.assertTemplateNotUsed(response, u'Invalid    POST    Template')
    self.assertFormError(response, u'form', u'email', u'This    field    is    required.')
    self.assertFormError(response, u'form', u'single', u'This    field    is    required.')
    self.assertFormError(response, u'form', u'multi', u'This    field    is    required.')
