summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/nfs_ganesha_libs.py
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/nfs_ganesha_libs.py')
-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 2da786c..19e9840 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(