'Tests that redirecting to an IRI, requiring encoding before we use it
in an HTTP response, is handled correctly. In this case the arg to
HttpRedirect is ASCII but the current request path contains non-ASCII
characters so this test ensures the creation of the full path with a
base non-ASCII part is handled correctly.'

def test_combining_redirect(self):

    response = self.client.get(u'/\u4e2d\u6587/')
    self.assertRedirects(response, self.redirect_target)
