summaryrefslogtreecommitdiffstats
path: root/tests/functional/snapshot/test_snap_scheduler_status.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-12-10 21:57:09 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-17 06:07:20 +0000
commitfff20da7fa964453a74206d25e8009c1ae202f56 (patch)
treee6ec94cb62952a362c9ab427ee2309259518cc9e /tests/functional/snapshot/test_snap_scheduler_status.py
parent5189557f8c3332e936842b3a21e44b5df21f7698 (diff)
[py2to3] Add py3 support in 'tests/functional/snapshot'
Change-Id: Ie408d7972452123b63eb5cc17c61bc319a99e304 Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/snapshot/test_snap_scheduler_status.py')
-rw-r--r--tests/functional/snapshot/test_snap_scheduler_status.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/snapshot/test_snap_scheduler_status.py b/tests/functional/snapshot/test_snap_scheduler_status.py
index a337d8325..fe81c4bc0 100644
--- a/tests/functional/snapshot/test_snap_scheduler_status.py
+++ b/tests/functional/snapshot/test_snap_scheduler_status.py
@@ -43,7 +43,7 @@ class SnapshotSchedulerStatus(GlusterBaseClass):
"""
# SettingUp volume and Mounting the volume
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
g.log.info("Starting to SetUp Volume")
ret = self.setup_volume()
if not ret:
@@ -74,7 +74,7 @@ class SnapshotSchedulerStatus(GlusterBaseClass):
g.log.info("Successful in Cleanup Volume")
# Calling GlusterBaseClass tearDown
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
def test_snap_scheduler_status(self):
# pylint: disable=too-many-statements