summaryrefslogtreecommitdiffstats
path: root/tests/functional/afr/test_gfid_heal.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/afr/test_gfid_heal.py')
-rw-r--r--tests/functional/afr/test_gfid_heal.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/functional/afr/test_gfid_heal.py b/tests/functional/afr/test_gfid_heal.py
index 589a420a0..85147452d 100644
--- a/tests/functional/afr/test_gfid_heal.py
+++ b/tests/functional/afr/test_gfid_heal.py
@@ -36,8 +36,7 @@ class HealGfidTest(GlusterBaseClass):
"""
@classmethod
def setUpClass(cls):
-
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
# Override Volumes
if cls.volume_type == "replicated":
@@ -48,7 +47,7 @@ class HealGfidTest(GlusterBaseClass):
'transport': 'tcp'}
def setUp(self):
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
g.log.info("Starting to Setup Volume %s", self.volname)
self.all_mounts_procs = []
@@ -85,7 +84,7 @@ class HealGfidTest(GlusterBaseClass):
g.log.info("Successful in umounting the volume and Cleanup")
# Calling GlusterBaseClass teardown
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
def verify_gfid_and_link_count(self, dirname, filename):
"""