def test_view_flatpage_special_chars(self):
        fp = FlatPage.objects.create(
            url="/some.very_special~chars-here/",
            title="A very special page",
            content="Isn't it special!",
            enable_comments=False,
            registration_required=False,
        )
        fp.sites.add(settings.SITE_ID)

        response = self.client.get('/flatpage_root/some.very_special~chars-here/')
        self.assertEqual(response.status_code, 200)
        self.assertContains(response, "<p>Isn't it special!</p>")
Handle the looking - add fallback to details.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/flatpages/tests/views.py/FlatpageViewTests.test_view_flatpage_special_chars--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/contrib/extended_room.py/CmdExtendedLook.func