summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd/test_add_brick.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/glusterd/test_add_brick.py')
-rw-r--r--tests/functional/glusterd/test_add_brick.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/glusterd/test_add_brick.py b/tests/functional/glusterd/test_add_brick.py
index c802c79..b864609 100644
--- a/tests/functional/glusterd/test_add_brick.py
+++ b/tests/functional/glusterd/test_add_brick.py
@@ -33,7 +33,7 @@ class TestVolumeCreate(GlusterBaseClass):
def setUpClass(cls):
# Calling GlusterBaseClass setUpClass
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
# check whether peers are in connected state
if not cls.validate_peers_are_connected():
@@ -57,7 +57,7 @@ class TestVolumeCreate(GlusterBaseClass):
raise ExecutionError("Failed to delete the brick dirs.")
g.log.info("Successfully cleaned all the brick dirs.")
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
def test_add_brick_functionality(self):