Merge "Fix dependency on requests library version"
diff --git a/octavia_tempest_plugin/tests/test_base.py b/octavia_tempest_plugin/tests/test_base.py
index 57d3db9..085c814 100644
--- a/octavia_tempest_plugin/tests/test_base.py
+++ b/octavia_tempest_plugin/tests/test_base.py
@@ -806,6 +806,8 @@
         :param cookies: Optional cookies to send in the request.
         :param redirect: Is the request a redirect? If true, assume the passed
                          content should be the next URL in the chain.
+        :param timeout: Optional seconds to wait for the server to send data.
+
         :return: boolean success status
 
         :raises: testtools.matchers.MismatchError
@@ -820,6 +822,7 @@
                 self.assertEqual(response_code, req.status_code)
             if redirect:
                 self.assertTrue(req.is_redirect)
-                self.assertEqual(response_content, req.next.url)
+                self.assertEqual(response_content,
+                                 session.get_redirect_target(req))
             elif response_content:
                 self.assertEqual(six.text_type(response_content), req.text)