def test_post_view_flatpage(self):
        response = self.client.post('/flatpage_root/flatpage/')
        self.assertEquals(response.status_code, 403)
POSTing to a flatpage served through a view will raise a CSRF error if no token is provided (Refs #14156)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/flatpages/tests/csrf.py/FlatpageCSRFTests.test_post_view_flatpage