def test_view_non_existent_flatpage(self):
        response = self.client.get('/flatpage_root/no_such_flatpage/')
        self.assertEqual(response.status_code, 404)
The populate function for the Conditional class.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/flatpages/tests/middleware.py/FlatpageMiddlewareTests.test_view_non_existent_flatpage--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/core/conditional.py/populate_conditional