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_dir_change_perm.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_dir_change_perm.py')
-rw-r--r-- | tests/functional/dht/test_dir_change_perm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/dht/test_dir_change_perm.py b/tests/functional/dht/test_dir_change_perm.py index c07cfb16e..4ee2bcd06 100644 --- a/tests/functional/dht/test_dir_change_perm.py +++ b/tests/functional/dht/test_dir_change_perm.py @@ -36,7 +36,7 @@ class DirChangePerm(GlusterBaseClass): def setUp(self): # Calling GlusterBaseClass setUp - GlusterBaseClass.setUp.im_func(self) + self.get_super_method(self, 'setUp')() # Setup Volume and Mount Volume g.log.info("Starting to Setup Volume and Mount Volume") @@ -76,7 +76,7 @@ class DirChangePerm(GlusterBaseClass): g.log.info("Successful in Unmount Volume and Cleanup Volume") # Calling GlusterBaseClass tearDown - GlusterBaseClass.tearDown.im_func(self) + self.get_super_method(self, 'tearDown')() def test_dir_change_perm(self): # pylint: disable=too-many-statements |