summaryrefslogtreecommitdiffstats
path: root/tests/functional/snapshot/test_snap_delete_snap_of_volume.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/snapshot/test_snap_delete_snap_of_volume.py')
-rw-r--r--tests/functional/snapshot/test_snap_delete_snap_of_volume.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/snapshot/test_snap_delete_snap_of_volume.py b/tests/functional/snapshot/test_snap_delete_snap_of_volume.py
index fdac200..6273647 100644
--- a/tests/functional/snapshot/test_snap_delete_snap_of_volume.py
+++ b/tests/functional/snapshot/test_snap_delete_snap_of_volume.py
@@ -37,7 +37,7 @@ class SnapshotDeleteSnapVolume(GlusterBaseClass):
def setUp(self):
# SettingUp volume and Mounting the volume
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
ret = self.setup_volume_and_mount_volume(mounts=self.mounts)
if not ret:
raise ExecutionError("Failed to setup volume %s" % self.volname)
@@ -45,7 +45,7 @@ class SnapshotDeleteSnapVolume(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("Unmount and cleanup-volume")