def test_redirect_fallback_flatpage_root(self):
        fp = FlatPage.objects.create(
            url="/",
            title="Root",
            content="Root",
            enable_comments=False,
            registration_required=False,
        )
        fp.sites.add(1)

        response = self.client.get('/')
        self.assertEqual(response.status_code, 200)
        self.assertContains(response, "<p>Root</p>")
A flatpage at / should not cause a redirect loop when APPEND_SLASH is set
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/flatpages/tests/middleware.py/FlatpageMiddlewareAppendSlashTests.test_redirect_fallback_flatpage_root