From 6a17654e9be3d5fbae9fa25249a7e2c8d892df3a Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Fri, 13 Dec 2019 21:19:07 +0530 Subject: [py2to3] Add py3 support in 'tests/functional/glusterd'. Part 2 Change-Id: I1395e14d8d0aa0cc6097e51c64262fb481f36f05 Signed-off-by: Valerii Ponomarov --- .../test_setting_volume_option_with_more_than_4096_characters.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/functional/glusterd/test_setting_volume_option_with_more_than_4096_characters.py') diff --git a/tests/functional/glusterd/test_setting_volume_option_with_more_than_4096_characters.py b/tests/functional/glusterd/test_setting_volume_option_with_more_than_4096_characters.py index d6c517923..9a7f764d5 100644 --- a/tests/functional/glusterd/test_setting_volume_option_with_more_than_4096_characters.py +++ b/tests/functional/glusterd/test_setting_volume_option_with_more_than_4096_characters.py @@ -28,8 +28,7 @@ from glustolibs.gluster.gluster_init import (restart_glusterd, class TestVolumeOptionSetWithMaxcharacters(GlusterBaseClass): def setUp(self): - - GlusterBaseClass.setUp.im_func(self) + self.get_super_method(self, 'setUp')() # check whether peers are in connected state ret = self.validate_peers_are_connected() @@ -56,7 +55,7 @@ class TestVolumeOptionSetWithMaxcharacters(GlusterBaseClass): % self.volname) g.log.info("Volume deleted successfully : %s", self.volname) - GlusterBaseClass.tearDown.im_func(self) + self.get_super_method(self, 'tearDown')() def test_setting_vol_option_with_max_characters(self): -- cgit