summaryrefslogtreecommitdiffstats
path: root/tests/functional/arbiter/brick_cases/test_impact_of_replace_brick_for_glustershd.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-12-05 21:03:46 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-17 05:26:54 +0000
commitcab83e31489002beda2478109aaa7daadddc215c (patch)
treeb24f8776758f20dc90dae3c293a9c74838484c21 /tests/functional/arbiter/brick_cases/test_impact_of_replace_brick_for_glustershd.py
parent6cd137615aec29dade5b41975fcbdae06852cf53 (diff)
[py2to3] Add py3 support in 'tests/functional/arbiter/brick_cases'
Change-Id: Ieecf4707ee6cb7b3c58380306bf105e282986b1b Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/arbiter/brick_cases/test_impact_of_replace_brick_for_glustershd.py')
-rw-r--r--tests/functional/arbiter/brick_cases/test_impact_of_replace_brick_for_glustershd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/arbiter/brick_cases/test_impact_of_replace_brick_for_glustershd.py b/tests/functional/arbiter/brick_cases/test_impact_of_replace_brick_for_glustershd.py
index a8a222c24..9e4cfee46 100644
--- a/tests/functional/arbiter/brick_cases/test_impact_of_replace_brick_for_glustershd.py
+++ b/tests/functional/arbiter/brick_cases/test_impact_of_replace_brick_for_glustershd.py
@@ -41,7 +41,7 @@ class ImpactOfReplaceBrickForGlustershdTests(GlusterBaseClass):
@classmethod
def setUpClass(cls):
# Calling GlusterBaseClass setUpClass
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
# Override Volumes
if cls.volume_type == "distributed-replicated":
@@ -61,7 +61,7 @@ class ImpactOfReplaceBrickForGlustershdTests(GlusterBaseClass):
"""
# calling GlusterBaseClass setUp
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
self.all_mounts_procs = []
self.io_validation_complete = False
@@ -88,7 +88,7 @@ class ImpactOfReplaceBrickForGlustershdTests(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_impact_of_replace_brick_for_glustershd(self):
# pylint: disable=too-many-statements,too-many-branches,too-many-locals