summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd/test_glusterd_replace_brick.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/glusterd/test_glusterd_replace_brick.py')
-rw-r--r--tests/functional/glusterd/test_glusterd_replace_brick.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/glusterd/test_glusterd_replace_brick.py b/tests/functional/glusterd/test_glusterd_replace_brick.py
index eec182f55..ec415049d 100644
--- a/tests/functional/glusterd/test_glusterd_replace_brick.py
+++ b/tests/functional/glusterd/test_glusterd_replace_brick.py
@@ -31,7 +31,7 @@ from glustolibs.gluster.brick_libs import are_bricks_online
'distributed-dispersed'], ['glusterfs']])
class TestReplaceBrick(GlusterBaseClass):
def setUp(self):
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
self.test_method_complete = False
# Creating a volume and starting it
ret = setup_volume(self.mnode, self.all_servers_info, self.volume)
@@ -40,7 +40,7 @@ class TestReplaceBrick(GlusterBaseClass):
g.log.info("Volume created successfully")
def tearDown(self):
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'tearDown')()
self.test_method_complete = False
ret = self.cleanup_volume()
if not ret: