def METHOD_NAME(self):
    for src, dst in REDIRECT_TESTS.items():
        baseurl, args = split_url(src)
        response = self.client.get(baseurl, args)
        self.assertTrue(str(response.status_code).startswith("3"))
        location = response['Location']
        if location.startswith("http://testserver/"):
            location = location[17:]
        self.assertIn(location, dst, (src, dst, location))