summaryrefslogtreecommitdiffstats
path: root/tests/os_clients.py
diff options
context:
space:
mode:
authorwenjuan dong <dong.wenjuan@zte.com.cn>2017-07-29 04:44:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-29 04:44:03 +0000
commite52dccf724ee05a16b6e78e79d7045f5c0ac979f (patch)
tree86d85a62459546e3ef6e81b9a9a7905db89ad955 /tests/os_clients.py
parentdbd84d95163fb492962ebacdea7bc2a89a8b56f9 (diff)
parent85bee51d0cef5a03097072c7a3f776623dbf3337 (diff)
Merge "refactor congress inspector"
Diffstat (limited to 'tests/os_clients.py')
-rw-r--r--tests/os_clients.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/os_clients.py b/tests/os_clients.py
index 2699930f..44fa3aad 100644
--- a/tests/os_clients.py
+++ b/tests/os_clients.py
@@ -9,6 +9,7 @@
from oslo_config import cfg
import aodhclient.client as aodhclient
+from congressclient.v1 import client as congressclient
import glanceclient.client as glanceclient
from keystoneclient.v2_0 import client as ks_client
from neutronclient.v2_0 import client as neutronclient
@@ -42,3 +43,8 @@ def neutron_client(session):
def aodh_client(version, session):
return aodhclient.Client(version, session=session)
+
+
+def congress_client(session):
+ return congressclient.Client(session=session,
+ service_type='policy')