From fff20da7fa964453a74206d25e8009c1ae202f56 Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Tue, 10 Dec 2019 21:57:09 +0530 Subject: [py2to3] Add py3 support in 'tests/functional/snapshot' Change-Id: Ie408d7972452123b63eb5cc17c61bc319a99e304 Signed-off-by: Valerii Ponomarov --- tests/functional/snapshot/test_snap_scheduler_status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functional/snapshot/test_snap_scheduler_status.py') 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 -- cgit