def test_redirect_fallback_non_existent_flatpage(self):
        response = self.client.get('/no_such_flatpage')
        self.assertEqual(response.status_code, 404)
generator -- the code generator to use
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/flatpages/tests/middleware.py/FlatpageMiddlewareAppendSlashTests.test_redirect_fallback_non_existent_flatpage--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/utilities/autowrap.py/CodeWrapper.__init__