def test_fallback_flatpage(self):
        response = self.client.get('/flatpage/')
        self.assertEqual(response.status_code, 404)
A fallback flatpage won't be served if the middleware is disabled
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/contrib/flatpages/tests/views.py/FlatpageViewTests.test_fallback_flatpage