Merge "Add missing insecure option to sahara client"

This commit is contained in:
Jenkins 2016-03-10 09:27:22 +00:00 committed by Gerrit Code Review
commit 916a11cfe9
2 changed files with 2 additions and 0 deletions

View File

@ -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"))

View File

@ -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,