diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-12-13 21:19:07 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2019-12-18 10:55:39 +0000 |
commit | 6a17654e9be3d5fbae9fa25249a7e2c8d892df3a (patch) | |
tree | 8812776ebfbb0ec17cbc481fd8a3b2c62aecc644 /tests/functional/glusterd/test_volume_operations.py | |
parent | 902dc78766d0938f0e40c71c25a4ce2bb10b005d (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_volume_operations.py')
-rw-r--r-- | tests/functional/glusterd/test_volume_operations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/glusterd/test_volume_operations.py b/tests/functional/glusterd/test_volume_operations.py index 47807c6f9..23bcfe640 100644 --- a/tests/functional/glusterd/test_volume_operations.py +++ b/tests/functional/glusterd/test_volume_operations.py @@ -35,7 +35,7 @@ from glustolibs.gluster.exceptions import ExecutionError class TestVolumeCreate(GlusterBaseClass): def setUp(self): - GlusterBaseClass.setUp.im_func(self) + self.get_super_method(self, 'setUp')() # check whether peers are in connected state ret = self.validate_peers_are_connected() if not ret: @@ -54,7 +54,7 @@ class TestVolumeCreate(GlusterBaseClass): raise ExecutionError("Unable to delete volume %s" % volume) g.log.info("Volume deleted successfully : %s", volume) - GlusterBaseClass.tearDown.im_func(self) + self.get_super_method(self, 'tearDown')() def test_volume_start_force(self): |