summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd/test_glusterd_replace_brick.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-12-13 20:05:55 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-18 10:38:52 +0000
commit902dc78766d0938f0e40c71c25a4ce2bb10b005d (patch)
treebbb34f4fc5cdd9b2494d89d589d51bc5a4cfa604 /tests/functional/glusterd/test_glusterd_replace_brick.py
parent065f51e673b3ccc39b153423359bed2dd572935d (diff)
[py2to3] Add py3 support in 'tests/functional/glusterd'. Part 1
Change-Id: Ib414b8496ca65a48bbe42936e32a863c9c1072e4 Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/glusterd/test_glusterd_replace_brick.py')
-rw-r--r--tests/functional/glusterd/test_glusterd_replace_brick.py4
1 files changed, 2 insertions, 2 deletions
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: