def test_get_flatpages_tag_for_user(self):
        out = Template(
                "{% load flatpages %}"
                "{% get_flatpages for me as flatpages %}"
                "{% for page in flatpages %}"
                "{{ page.title }},"
                "{% endfor %}"
            ).render(Context({
                'me': self.me
            }))
        self.assertEqual(out, "A Flatpage,A Nested Flatpage,Sekrit Nested Flatpage,Sekrit Flatpage,")
The flatpage template tag retrives all flatpages for an authenticated user
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/contrib/flatpages/tests/templatetags.py/FlatpageTemplateTagTests.test_get_flatpages_tag_for_user