'Template assertions work when there are multiple contexts'

def test_multiple_context(self):

    post_data = {u'text': u'Hello    World', u'email': u'foo@example.com', u'value': 37, u'single': u'b', u'multi': (u'b', u'c', u'e')}
    response = self.client.post(u'/test_client/form_view_with_template/', post_data)
    self.assertContains(response, u'POST    data    OK')
    try:
        self.assertTemplateNotUsed(response, u'form_view.html')
    except AssertionError as e:
        self.assertIn(u"Template    'form_view.html'    was    used    unexpectedly    in    rendering    the    response", str(e))
    try:
        self.assertTemplateNotUsed(response, u'base.html')
    except AssertionError as e:
        self.assertIn(u"Template    'base.html'    was    used    unexpectedly    in    rendering    the    response", str(e))
    try:
        self.assertTemplateUsed(response, u'Valid    POST    Template')
    except AssertionError as e:
        self.assertIn(u"Template    'Valid    POST    Template'    was    not    a    template    used    to    render    the    response.    Actual    template(s)    used:    form_view.html,    base.html", str(e))
