From 902dc78766d0938f0e40c71c25a4ce2bb10b005d Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Fri, 13 Dec 2019 20:05:55 +0530 Subject: [py2to3] Add py3 support in 'tests/functional/glusterd'. Part 1 Change-Id: Ib414b8496ca65a48bbe42936e32a863c9c1072e4 Signed-off-by: Valerii Ponomarov --- tests/functional/glusterd/test_glusterd_replace_brick.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functional/glusterd/test_glusterd_replace_brick.py') diff --git a/tests/functional/glusterd/test_glusterd_replace_brick.py b/tests/functional/glusterd/test_glusterd_replace_brick.py index eec182f55..ec415049d 100644 --- a/tests/functional/glusterd/test_glusterd_replace_brick.py +++ b/tests/functional/glusterd/test_glusterd_replace_brick.py @@ -31,7 +31,7 @@ from glustolibs.gluster.brick_libs import are_bricks_online 'distributed-dispersed'], ['glusterfs']]) class TestReplaceBrick(GlusterBaseClass): def setUp(self): - GlusterBaseClass.setUp.im_func(self) + self.get_super_method(self, 'setUp')() self.test_method_complete = False # Creating a volume and starting it ret = setup_volume(self.mnode, self.all_servers_info, self.volume) @@ -40,7 +40,7 @@ class TestReplaceBrick(GlusterBaseClass): g.log.info("Volume created successfully") def tearDown(self): - GlusterBaseClass.setUp.im_func(self) + self.get_super_method(self, 'tearDown')() self.test_method_complete = False ret = self.cleanup_volume() if not ret: -- cgit