summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-12-09 19:36:23 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-18 10:11:45 +0000
commitbdc29bccfda390fd3cc2953b43a8653f7653c56f (patch)
treebadda443fc5bf3027658d80dd604d2eaf0830546 /glustolibs-gluster/glustolibs/gluster
parent0eaf8c8edf16e99bf9f2dea22ced6655ef99587b (diff)
[py2to3] Add py3 support in 'tests/functional/nfs_ganesha'
Change-Id: I7a76e0c2e491caffd7ba1b648b47c4c6a687c89a Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/nfs_ganesha_libs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/nfs_ganesha_libs.py b/glustolibs-gluster/glustolibs/gluster/nfs_ganesha_libs.py
index 2da786c6c..19e98408e 100644
--- a/glustolibs-gluster/glustolibs/gluster/nfs_ganesha_libs.py
+++ b/glustolibs-gluster/glustolibs/gluster/nfs_ganesha_libs.py
@@ -46,7 +46,7 @@ class NfsGaneshaClusterSetupClass(GlusterBaseClass):
Setup variable for nfs-ganesha tests.
"""
# pylint: disable=too-many-statements, too-many-branches
- GlusterBaseClass.setUpClass.im_func(cls)
+ super(NfsGaneshaClusterSetupClass, cls).setUpClass()
# Check if enable_nfs_ganesha is set in config file
if not cls.enable_nfs_ganesha:
@@ -189,7 +189,7 @@ class NfsGaneshaClusterSetupClass(GlusterBaseClass):
def tearDownClass(cls, delete_nfs_ganesha_cluster=True):
"""Teardown nfs ganesha cluster.
"""
- GlusterBaseClass.tearDownClass.im_func(cls)
+ super(NfsGaneshaClusterSetupClass, cls).tearDownClass()
if delete_nfs_ganesha_cluster:
ret = teardown_nfs_ganesha_cluster(