summaryrefslogtreecommitdiffstats
path: root/tests/functional/dht/test_dir_change_perm.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/dht/test_dir_change_perm.py')
-rw-r--r--tests/functional/dht/test_dir_change_perm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/dht/test_dir_change_perm.py b/tests/functional/dht/test_dir_change_perm.py
index c07cfb16e..4ee2bcd06 100644
--- a/tests/functional/dht/test_dir_change_perm.py
+++ b/tests/functional/dht/test_dir_change_perm.py
@@ -36,7 +36,7 @@ class DirChangePerm(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")
@@ -76,7 +76,7 @@ class DirChangePerm(GlusterBaseClass):
g.log.info("Successful in Unmount Volume and Cleanup Volume")
# Calling GlusterBaseClass tearDown
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
def test_dir_change_perm(self):
# pylint: disable=too-many-statements