diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-12-16 18:26:45 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2019-12-18 10:26:37 +0000 |
commit | 065f51e673b3ccc39b153423359bed2dd572935d (patch) | |
tree | f1c998d24aa463f567b4742f1c74f95893ffedef /tests/functional/dht/test_mkdir_hashdown.py | |
parent | b1dfa315487c2da399988775e5de39354f686b0c (diff) |
[py2to3] Add py3 support in 'tests/functional/dht'
Change-Id: I44fe85519c8fd381064670e54dac8736107b0928
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/dht/test_mkdir_hashdown.py')
-rw-r--r-- | tests/functional/dht/test_mkdir_hashdown.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/dht/test_mkdir_hashdown.py b/tests/functional/dht/test_mkdir_hashdown.py index ceb6d444d..827dc32a9 100644 --- a/tests/functional/dht/test_mkdir_hashdown.py +++ b/tests/functional/dht/test_mkdir_hashdown.py @@ -43,7 +43,7 @@ class TestMkdirHashdown(GlusterBaseClass): """ Setup and mount volume or raise ExecutionError """ - GlusterBaseClass.setUp.im_func(self) + self.get_super_method(self, 'setUp')() # Setup Volume ret = self.setup_volume_and_mount_volume(self.mounts) @@ -151,5 +151,5 @@ class TestMkdirHashdown(GlusterBaseClass): raise ExecutionError("Failed to Unmount Volume and Cleanup Volume") g.log.info("Successful in Unmount Volume and Cleanup Volume") - # Calling GlusterBaseClass tearDown - GlusterBaseClass.tearDownClass.im_func(cls) + # Calling GlusterBaseClass tearDownClass + cls.get_super_method(cls, 'tearDownClass')() |