def test_permanent_nonascii_redirect(self):
        response = self.client.get('/permanent_nonascii_redirect/')
        self.assertRedirects(response, self.redirect_target, status_code=301)
Tests that a non-ASCII argument to HttpPermanentRedirect is handled
dataset/ETHPy150Open django/django/tests/view_tests/tests/test_specials.py/URLHandling.test_permanent_nonascii_redirect