summaryrefslogtreecommitdiffstats
path: root/tests/functional/snapshot/test_create_brick_down.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/snapshot/test_create_brick_down.py')
-rw-r--r--tests/functional/snapshot/test_create_brick_down.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/snapshot/test_create_brick_down.py b/tests/functional/snapshot/test_create_brick_down.py
index 529c39a..60ace2b 100644
--- a/tests/functional/snapshot/test_create_brick_down.py
+++ b/tests/functional/snapshot/test_create_brick_down.py
@@ -45,7 +45,7 @@ class CreateSnapwhenBricksareDown(GlusterBaseClass):
"""
def setUp(self):
# SetUp volume and Mount volume
- GlusterBaseClass.setUpClass.im_func(self)
+ self.get_super_method(self, 'setUp')()
g.log.info("Starting to SetUp Volume")
ret = self.setup_volume_and_mount_volume(mounts=self.mounts)
if not ret:
@@ -135,7 +135,7 @@ class CreateSnapwhenBricksareDown(GlusterBaseClass):
def tearDown(self):
# Calling GlusterBaseClass tearDown
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
# Unmount and cleanup-volume
g.log.info("Starting to Unmount and cleanup-volume")