Merge "cacert is not picked up correctly by alarm services"

This commit is contained in:
Jenkins 2014-01-15 11:48:02 +00:00 committed by Gerrit Code Review
commit 3eacf01a86
4 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ class Evaluator(object):
os_tenant_name=auth_config.os_tenant_name,
os_password=auth_config.os_password,
os_username=auth_config.os_username,
cacert=auth_config.os_cacert,
os_cacert=auth_config.os_cacert,
os_endpoint_type=auth_config.os_endpoint_type,
)
self.api_client = ceiloclient.get_client(2, **creds)

View File

@ -84,7 +84,7 @@ class AlarmService(object):
os_tenant_name=auth_config.os_tenant_name,
os_password=auth_config.os_password,
os_username=auth_config.os_username,
cacert=auth_config.os_cacert,
os_cacert=auth_config.os_cacert,
os_endpoint_type=auth_config.os_endpoint_type,
)
self.api_client = ceiloclient.get_client(2, **creds)

View File

@ -307,7 +307,7 @@ class TestEvaluate(base.TestEvaluatorBase):
os_tenant_name=conf.os_tenant_name,
os_password=conf.os_password,
os_username=conf.os_username,
cacert=conf.os_cacert,
os_cacert=conf.os_cacert,
os_endpoint_type=conf.os_endpoint_type)]
actual = client.call_args_list
self.assertEqual(actual, expected)

View File

@ -100,7 +100,7 @@ class TestSingletonAlarmService(test.BaseTestCase):
os_tenant_name=conf.os_tenant_name,
os_password=conf.os_password,
os_username=conf.os_username,
cacert=conf.os_cacert,
os_cacert=conf.os_cacert,
os_endpoint_type=conf.os_endpoint_type)]
actual = client.call_args_list
self.assertEqual(actual, expected)