'If get_token() is not called, the view middleware does not
add a cookie.'

def test_process_response_get_token_not_used(self):

    req = self._get_GET_no_csrf_cookie_request()
    CsrfViewMiddleware().process_view(req, non_token_view_using_request_processor, (), {})
    resp = non_token_view_using_request_processor(req)
    resp2 = CsrfViewMiddleware().process_response(req, resp)
    csrf_cookie = resp2.cookies.get(settings.CSRF_COOKIE_NAME, False)
    self.assertIs(csrf_cookie, False)
