'Check that if both a cookie and a token is present, the middleware lets it through.'

def test_process_request_csrf_cookie_and_token(self):

    req = self._get_POST_request_with_token()
    req2 = CsrfViewMiddleware().process_view(req, post_form_view, (), {})
    self.assertEqual(None, req2)
