From 6bf7de8afcd0cbc8d96b09a881bb5a950f92c78b Mon Sep 17 00:00:00 2001
From: Jordan Pittier <jordan.pittier@scality.com>
Date: Fri, 29 Apr 2016 14:07:52 +0200
Subject: [PATCH] object_storage/object_client.py: kill some dead code

Remove calls to the method `_set_auth()`. The method definition has
been removed from Tempest a couple of *years* ago. Dynamic languages are
great !

Change-Id: I0f459002c1aa5ab35952f624de814ac5f69d30b2
---
 tempest/services/object_storage/object_client.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tempest/services/object_storage/object_client.py b/tempest/services/object_storage/object_client.py
index 78bda5db3e..0acd4ad486 100644
--- a/tempest/services/object_storage/object_client.py
+++ b/tempest/services/object_storage/object_client.py
@@ -150,9 +150,6 @@ class ObjectClient(rest_client.RestClient):
 
     def put_object_with_chunk(self, container, name, contents, chunk_size):
         """Put an object with Transfer-Encoding header"""
-        if self.base_url is None:
-            self._set_auth()
-
         headers = {'Transfer-Encoding': 'chunked'}
         if self.token:
             headers['X-Auth-Token'] = self.token
@@ -182,8 +179,6 @@ class ObjectClient(rest_client.RestClient):
         if not data:
             headers['content-length'] = '0'
 
-        if self.base_url is None:
-            self._set_auth()
         headers['X-Auth-Token'] = self.token
 
         conn = put_object_connection(self.base_url, str(container),