From 359e584af96e265839b264c89fb5384b5e115c5e Mon Sep 17 00:00:00 2001 From: Apeksha D Khakharia Date: Mon, 24 Sep 2018 19:56:26 +0530 Subject: CNS: adding testcase CNS-450 - Restart heketi pod Change-Id: Ie68628cb0f083fd5cd1ec9cd88a4c490bfca2e88 Signed-off-by: Apeksha D Khakharia --- cns-libs/cnslibs/common/heketi_libs.py | 2 ++ cns-libs/setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'cns-libs') diff --git a/cns-libs/cnslibs/common/heketi_libs.py b/cns-libs/cnslibs/common/heketi_libs.py index 5101ae25..29e21cd8 100644 --- a/cns-libs/cnslibs/common/heketi_libs.py +++ b/cns-libs/cnslibs/common/heketi_libs.py @@ -45,6 +45,8 @@ class HeketiBaseClass(unittest.TestCase): cls.executor_port = g.config['cns']['executor_port'] heketi_config = g.config['cns']['heketi_config'] + cls.heketi_dc_name = heketi_config['heketi_dc_name'] + cls.heketi_service_name = heketi_config['heketi_service_name'] cls.heketi_client_node = heketi_config['heketi_client_node'] cls.heketi_server_url = heketi_config['heketi_server_url'] cls.heketi_cli_user = heketi_config['heketi_cli_user'] diff --git a/cns-libs/setup.py b/cns-libs/setup.py index 1a4fe293..06f49c1d 100644 --- a/cns-libs/setup.py +++ b/cns-libs/setup.py @@ -22,7 +22,7 @@ setup( 'Programming Language :: Python :: 2.7' 'Topic :: Software Development :: Testing' ], - install_requires=['glusto', 'ddt', 'mock', 'rtyaml'], + install_requires=['glusto', 'ddt', 'mock', 'rtyaml', 'jsondiff'], dependency_links=[ 'http://github.com/loadtheaccumulator/glusto/tarball/master#egg=glusto' ], -- cgit