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(
|
client = sahara.Client(
|
||||||
self.choose_version(version),
|
self.choose_version(version),
|
||||||
service_type=self.choose_service_type(service_type),
|
service_type=self.choose_service_type(service_type),
|
||||||
|
insecure=self.credential.insecure,
|
||||||
**self._get_auth_info(password_key="api_key",
|
**self._get_auth_info(password_key="api_key",
|
||||||
project_name_key="project_name"))
|
project_name_key="project_name"))
|
||||||
|
|
||||||
|
@ -508,6 +508,7 @@ class OSClientsTestCase(test.TestCase):
|
|||||||
self.assertEqual(fake_sahara, client)
|
self.assertEqual(fake_sahara, client)
|
||||||
kw = {
|
kw = {
|
||||||
"service_type": "data-processing",
|
"service_type": "data-processing",
|
||||||
|
"insecure": False,
|
||||||
"username": self.credential.username,
|
"username": self.credential.username,
|
||||||
"api_key": self.credential.password,
|
"api_key": self.credential.password,
|
||||||
"project_name": self.credential.tenant_name,
|
"project_name": self.credential.tenant_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user