summaryrefslogtreecommitdiffstats
path: root/tests/functional/bvt/test_cvt.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-11-30 01:10:19 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-09 17:59:35 +0000
commit37155292140a9ad4e19ab87cd026274893df8872 (patch)
treefe0185224e48d962e854117ab3f6c8d4b22148ee /tests/functional/bvt/test_cvt.py
parentcabfc95648ebb76cf7ad409cc594b3f8a131f109 (diff)
[py2to3] Add py3 support for tests in 'tests/functional/bvt'
Change-Id: I8b8aad4c3e4a2ad924478f1842498289323b7098 Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/bvt/test_cvt.py')
-rw-r--r--tests/functional/bvt/test_cvt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/bvt/test_cvt.py b/tests/functional/bvt/test_cvt.py
index 05578b4..d774400 100644
--- a/tests/functional/bvt/test_cvt.py
+++ b/tests/functional/bvt/test_cvt.py
@@ -71,7 +71,7 @@ class GlusterBasicFeaturesSanityBaseClass(GlusterBaseClass):
"""Upload the necessary scripts to run tests.
"""
# Calling GlusterBaseClass setUpClass
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
# Upload io scripts for running IO on mounts
g.log.info("Upload io scripts to clients %s for running IO on "
@@ -108,7 +108,7 @@ class GlusterBasicFeaturesSanityBaseClass(GlusterBaseClass):
- IO creates deep dirs and files.
"""
# 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")
@@ -172,7 +172,7 @@ class GlusterBasicFeaturesSanityBaseClass(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')()
@runs_on([['replicated', 'distributed', 'distributed-replicated',