Remove unused arguments
The "response_checker" method has unused arguments ("url", "headers", "body").
So method does not need them and we can remove them.
Change-Id: I8b3a25513693e6a950fc44a8da5ae9549c13a23d
diff --git a/tempest/common/rest_client.py b/tempest/common/rest_client.py
index 8c07d4f..360f440 100644
--- a/tempest/common/rest_client.py
+++ b/tempest/common/rest_client.py
@@ -369,7 +369,7 @@
# Parse one-item-like xmls (user, role, etc)
return common.xml_to_json(element)
- def response_checker(self, method, url, headers, body, resp, resp_body):
+ def response_checker(self, method, resp, resp_body):
if (resp.status in set((204, 205, 304)) or resp.status < 200 or
method.upper() == 'HEAD') and resp_body:
raise exceptions.ResponseWithNonEmptyBody(status=resp.status)
@@ -413,8 +413,7 @@
resp_body=resp_body)
# Verify HTTP response codes
- self.response_checker(method, url, req_headers, req_body, resp,
- resp_body)
+ self.response_checker(method, resp, resp_body)
return resp, resp_body