summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-12-13 21:19:07 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-18 10:55:39 +0000
commit6a17654e9be3d5fbae9fa25249a7e2c8d892df3a (patch)
tree8812776ebfbb0ec17cbc481fd8a3b2c62aecc644 /tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
parent902dc78766d0938f0e40c71c25a4ce2bb10b005d (diff)
[py2to3] Add py3 support in 'tests/functional/glusterd'. Part 2
Change-Id: I1395e14d8d0aa0cc6097e51c64262fb481f36f05 Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py')
-rw-r--r--tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py b/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
index 3b81dc6..a538ba0 100644
--- a/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
+++ b/tests/functional/glusterd/test_remove_brick_after_restart_glusterd.py
@@ -44,7 +44,7 @@ class TestRemoveBrickAfterRestartGlusterd(GlusterBaseClass):
if ret != 0:
raise ExecutionError("Peer detach failed")
g.log.info("Peer detach SUCCESSFUL.")
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
def tearDown(self):
@@ -75,7 +75,7 @@ class TestRemoveBrickAfterRestartGlusterd(GlusterBaseClass):
"servers %s" % self.servers)
g.log.info("Peer probe success for detached "
"servers %s", self.servers)
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
def test_remove_brick(self):
"""