def METHOD_NAME(self):
    response = self.client.get(reverse("manage-cdn"))
    expected_url = "/admin/login/?next=/admin/cdn/"
    self.assertRedirects(
        response, expected_url, fetch_redirect_response=False
    )