summaryrefslogtreecommitdiffstats
path: root/tests/functional/afr/heal/test_data_split_brain_resolution.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/afr/heal/test_data_split_brain_resolution.py')
-rw-r--r--tests/functional/afr/heal/test_data_split_brain_resolution.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/functional/afr/heal/test_data_split_brain_resolution.py b/tests/functional/afr/heal/test_data_split_brain_resolution.py
index e1284ca..b375e09 100644
--- a/tests/functional/afr/heal/test_data_split_brain_resolution.py
+++ b/tests/functional/afr/heal/test_data_split_brain_resolution.py
@@ -23,6 +23,7 @@
"""
from glusto.core import Glusto as g
+
from glustolibs.gluster.exceptions import ExecutionError
from glustolibs.gluster.gluster_base_class import GlusterBaseClass, runs_on
from glustolibs.misc.misc_libs import upload_scripts
@@ -45,7 +46,7 @@ class HealDataSplitBrain(GlusterBaseClass):
def setUpClass(cls):
# Calling GlusterBaseClass setUpClass
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
# Override Volume
if cls.volume_type == "replicated":
@@ -85,7 +86,7 @@ class HealDataSplitBrain(GlusterBaseClass):
raise ExecutionError("Failed to create volume")
g.log.info("Successful in cleaning up Volume %s", cls.volname)
- GlusterBaseClass.tearDownClass.im_func(cls)
+ cls.get_super_method(cls, 'tearDownClass')()
def verify_brick_arequals(self):
g.log.info("Fetching bricks for the volume: %s", self.volname)