summaryrefslogtreecommitdiffstats
path: root/cns-libs
diff options
context:
space:
mode:
authorApeksha D Khakharia <akhakhar@redhat.com>2018-09-24 19:56:26 +0530
committerApeksha D Khakharia <akhakhar@redhat.com>2018-10-31 13:24:17 +0530
commit359e584af96e265839b264c89fb5384b5e115c5e (patch)
tree618846d1b7e15eefed747c75a25be4deece348c3 /cns-libs
parent0acce60125038b350deac4c640399bee482b0292 (diff)
CNS: adding testcase CNS-450 - Restart heketi pod
Change-Id: Ie68628cb0f083fd5cd1ec9cd88a4c490bfca2e88 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
Diffstat (limited to 'cns-libs')
-rw-r--r--cns-libs/cnslibs/common/heketi_libs.py2
-rw-r--r--cns-libs/setup.py2
2 files changed, 3 insertions, 1 deletions
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'
],