Merge "Add missing insecure
option to sahara client"
This commit is contained in:
commit
916a11cfe9
@ -466,6 +466,7 @@ class Sahara(OSClient):
|
||||
client = sahara.Client(
|
||||
self.choose_version(version),
|
||||
service_type=self.choose_service_type(service_type),
|
||||
insecure=self.credential.insecure,
|
||||
**self._get_auth_info(password_key="api_key",
|
||||
project_name_key="project_name"))
|
||||
|
||||
|
@ -508,6 +508,7 @@ class OSClientsTestCase(test.TestCase):
|
||||
self.assertEqual(fake_sahara, client)
|
||||
kw = {
|
||||
"service_type": "data-processing",
|
||||
"insecure": False,
|
||||
"username": self.credential.username,
|
||||
"api_key": self.credential.password,
|
||||
"project_name": self.credential.tenant_name,
|
||||
|
Loading…
Reference in New Issue
Block a user