'POSTing to a flatpage served by the middleware will raise a CSRF error if no token is provided (Refs #14156)'

def test_post_fallback_flatpage(self):

    response = self.client.post('/flatpage/')
    self.assertEquals(response.status_code, 403)
