From 2d7a375338a2d997b7eab09cbe1d37bc6f874aaf Mon Sep 17 00:00:00 2001 From: licanwei Date: Mon, 23 Jan 2017 10:57:08 +0800 Subject: [PATCH] Fix test_clients_monasca failure 'cafile','certfile','keyfile' and 'insecure' need mock override. Change-Id: I289904ed38f22d4475fe04f2005b795d07cb8d83 Closes-Bug: #1658553 --- watcher/tests/common/test_clients.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/watcher/tests/common/test_clients.py b/watcher/tests/common/test_clients.py index 81a213f1c..d54aa669f 100644 --- a/watcher/tests/common/test_clients.py +++ b/watcher/tests/common/test_clients.py @@ -65,6 +65,10 @@ class TestClients(base.TestCase): expected = {'username': 'foousername', 'password': 'foopassword', 'auth_url': 'http://server.ip:35357', + 'cafile': None, + 'certfile': None, + 'keyfile': None, + 'insecure': False, 'user_domain_id': 'foouserdomainid', 'project_domain_id': 'fooprojdomainid'}