def test_redirect_view_flatpage(self):
        response = self.client.get('/flatpage_root/flatpage')
        self.assertRedirects(response, '/flatpage_root/flatpage/', status_code=301)
A flatpage can be served through a view and should add a slash
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/flatpages/tests/middleware.py/FlatpageMiddlewareAppendSlashTests.test_redirect_view_flatpage