'Check that we get a new token if the csrf_cookie is the empty string'

def test_token_node_empty_csrf_cookie(self):

    req = self._get_GET_no_csrf_cookie_request()
    req.COOKIES[settings.CSRF_COOKIE_NAME] = ''
    CsrfViewMiddleware().process_view(req, token_view, (), {})
    resp = token_view(req)
    self.assertNotEqual(u'', resp.content)
