From aa7736fc0de7a9df121204878cd78f9eb3bfa6e1 Mon Sep 17 00:00:00 2001 From: kshithijiyer Date: Fri, 17 Jan 2020 12:44:48 +0530 Subject: [Fix] Fixing keyerror introduced in the gluster_base_class Fixing keyerror introduced in the patch: https://review.gluster.org/#/c/glusto-tests/+/23967/ Change-Id: Ib44678fe46df5090b1586b09b47d3046c4dc6f9b Signed-off-by: kshithijiyer --- glustolibs-gluster/glustolibs/gluster/gluster_base_class.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glustolibs-gluster') diff --git a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py index 87ab97008..e8ade17a1 100644 --- a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py +++ b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py @@ -559,6 +559,8 @@ class GlusterBaseClass(TestCase): ['cluster_config']) except KeyError: cls.geo_rep_info = {} + cls.geo_rep_info['root'] = {} + cls.geo_rep_info['user'] = {} cls.geo_rep_info['root']['password'] = '' cls.geo_rep_info['user']['name'] = '' cls.geo_rep_info['user']['password'] = '' -- cgit