summaryrefslogtreecommitdiffstats
path: root/tests/functional/afr/test_readlink.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/afr/test_readlink.py')
-rw-r--r--tests/functional/afr/test_readlink.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/afr/test_readlink.py b/tests/functional/afr/test_readlink.py
index 0f2b34b..beb95b3 100644
--- a/tests/functional/afr/test_readlink.py
+++ b/tests/functional/afr/test_readlink.py
@@ -32,7 +32,7 @@ class AfrReadlinkTest(GlusterBaseClass):
@classmethod
def setUpClass(cls):
# Calling GlusterBaseClass setUpClass
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
# Override replica count to be 3
if cls.volume_type == "replicated":
@@ -53,7 +53,7 @@ class AfrReadlinkTest(GlusterBaseClass):
def setUp(self):
# Calling GlusterBaseClass setUp
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
# Setup Volume and Mount Volume
g.log.info("Starting to Setup Volume and Mount Volume")
@@ -75,7 +75,7 @@ class AfrReadlinkTest(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 test_readlink(self):
# create file