summaryrefslogtreecommitdiffstats
path: root/tests/functional/arbiter/test_self_heal_algorithm_full_daemon_off.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-12-12 22:10:49 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-17 08:28:18 +0000
commit099438eec88274839411f51cd214f6ff7fdac87c (patch)
treeeb9b0bb0967582e658a25f6f7d751ecacb3a0f9a /tests/functional/arbiter/test_self_heal_algorithm_full_daemon_off.py
parente167fe2bd8d556ea79dc1cca424c0910f123ffdf (diff)
[py2to3] Add py3 support in 'tests/functional/arbiter'
Change-Id: I5a60646b984557ed024cb4b3a8088ce7dfb7622c Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/arbiter/test_self_heal_algorithm_full_daemon_off.py')
-rw-r--r--tests/functional/arbiter/test_self_heal_algorithm_full_daemon_off.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/arbiter/test_self_heal_algorithm_full_daemon_off.py b/tests/functional/arbiter/test_self_heal_algorithm_full_daemon_off.py
index 577961f36..4a1825fae 100644
--- a/tests/functional/arbiter/test_self_heal_algorithm_full_daemon_off.py
+++ b/tests/functional/arbiter/test_self_heal_algorithm_full_daemon_off.py
@@ -44,7 +44,7 @@ class TestSelfHeal(GlusterBaseClass):
@classmethod
def setUpClass(cls):
# Calling GlusterBaseClass setUpClass
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
# Overriding the volume type to specifically test the volume type
# Change from distributed-replicated to arbiter
@@ -72,7 +72,7 @@ class TestSelfHeal(GlusterBaseClass):
def setUp(self):
# Calling GlusterBaseClass setUp
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
# Setup Volume and Mount Volume
g.log.info("Starting to Setup Volume and Mount Volume")
@@ -97,7 +97,7 @@ class TestSelfHeal(GlusterBaseClass):
g.log.info("Successful in umounting the volume and Cleanup")
# Calling GlusterBaseClass teardown
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
def test_self_heal_algorithm_full_daemon_off(self):
"""""