From 195e6e3482a19c2d5f643cbb2c9b60f81d38028c Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Fri, 6 Dec 2019 22:43:44 +0530 Subject: [py2to3] Add py3 support for tests in 'tests/functional/afr/heal' Change-Id: Id4df838565ec3f9ad765cf223bb5115e43dac1c5 Signed-off-by: Valerii Ponomarov --- tests/functional/afr/heal/test_no_glustershd_with_distribute.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/functional/afr/heal/test_no_glustershd_with_distribute.py') diff --git a/tests/functional/afr/heal/test_no_glustershd_with_distribute.py b/tests/functional/afr/heal/test_no_glustershd_with_distribute.py index 4cbee5f93..fdf818abd 100644 --- a/tests/functional/afr/heal/test_no_glustershd_with_distribute.py +++ b/tests/functional/afr/heal/test_no_glustershd_with_distribute.py @@ -42,7 +42,8 @@ class SelfHealDaemonProcessTestsWithMultipleVolumes(GlusterBaseClass): which is used in tests """ # calling GlusterBaseClass setUpClass - GlusterBaseClass.setUpClass.im_func(cls) + cls.get_super_method(cls, 'setUpClass')() + list_of_vol = ['distributed-dispersed', 'replicated', 'dispersed', 'distributed', 'distributed-replicated'] cls.volume_configs = [] @@ -98,7 +99,7 @@ class SelfHealDaemonProcessTestsWithMultipleVolumes(GlusterBaseClass): g.log.info("Successfully Cleanedup all Volumes") # calling GlusterBaseClass tearDownClass - GlusterBaseClass.tearDownClass.im_func(cls) + cls.get_super_method(cls, 'tearDownClass')() def test_no_glustershd_with_distribute(self): """ -- cgit