Remove leftover os_client_config references
The patch removes forgotten and unusued os_client_config references. Change-Id: I15b2af134545cbcdcc571d44597961fea0294867
This commit is contained in:
parent
1c83ae3a99
commit
594614fca5
@ -96,14 +96,10 @@ class BaseConfigTempestTest(base.BaseTestCase):
|
|||||||
self.useFixture(MonkeyPatch(func2mock, mock_function))
|
self.useFixture(MonkeyPatch(func2mock, mock_function))
|
||||||
return Credentials(conf, admin)
|
return Credentials(conf, admin)
|
||||||
|
|
||||||
@mock.patch('os_client_config.cloud_config.CloudConfig')
|
def _get_clients(self, conf, creds=None):
|
||||||
def _get_clients(self, conf, mock_args, creds=None):
|
|
||||||
"""Returns ClientManager instance"""
|
"""Returns ClientManager instance"""
|
||||||
if creds is None:
|
if creds is None:
|
||||||
creds = self._get_creds(conf, v2=True)
|
creds = self._get_creds(conf, v2=True)
|
||||||
mock_function = mock.Mock(return_value=False)
|
|
||||||
func2mock = 'os_client_config.cloud_config.CloudConfig.config.get'
|
|
||||||
self.useFixture(MonkeyPatch(func2mock, mock_function))
|
|
||||||
return ClientManager(conf, creds)
|
return ClientManager(conf, creds)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user