Remove using of deprecated self.headers (part2)
Attr self.headers in rest client is deprecated now, and
should be removed from usage by service clients.
This patch removes second bunch of attrs in service clients
and from rest client itself.
part1: https://review.openstack.org/#/c/73869/
Change-Id: I109479299cd41848e78700484bed862012638c4d
Partially-implements: bp refactor-rest-client
diff --git a/tempest/services/compute/json/quotas_client.py b/tempest/services/compute/json/quotas_client.py
index 2007d4e..7607cc0 100644
--- a/tempest/services/compute/json/quotas_client.py
+++ b/tempest/services/compute/json/quotas_client.py
@@ -96,8 +96,7 @@
post_body['security_groups'] = security_groups
post_body = json.dumps({'quota_set': post_body})
- resp, body = self.put('os-quota-sets/%s' % str(tenant_id), post_body,
- self.headers)
+ resp, body = self.put('os-quota-sets/%s' % str(tenant_id), post_body)
body = json.loads(body)
return resp, body['quota_set']