summaryrefslogtreecommitdiffstats
path: root/tests/functional/snapshot/test_activate_on_create.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/snapshot/test_activate_on_create.py')
-rw-r--r--tests/functional/snapshot/test_activate_on_create.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/snapshot/test_activate_on_create.py b/tests/functional/snapshot/test_activate_on_create.py
index 3494bc3..82d8401 100644
--- a/tests/functional/snapshot/test_activate_on_create.py
+++ b/tests/functional/snapshot/test_activate_on_create.py
@@ -38,7 +38,7 @@ class TestActivateOnCreate(GlusterBaseClass):
setup volume and initialize necessary variables
"""
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
g.log.info("Starting %s:", cls.__name__)
# Setup volume and mount
g.log.info("Starting to Setup Volume")
@@ -68,7 +68,7 @@ class TestActivateOnCreate(GlusterBaseClass):
"activate-on-create")
# Calling GlusterBaseClass tearDown
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
@classmethod
def tearDownClass(cls):
@@ -83,7 +83,7 @@ class TestActivateOnCreate(GlusterBaseClass):
g.log.info("Successful in Cleanup Volume and mount")
# calling GlusterBaseClass tearDownClass
- GlusterBaseClass.tearDownClass.im_func(cls)
+ cls.get_super_method(cls, 'tearDownClass')()
def test_activate_on_create(self):
# pylint: disable=too-many-branches, too-many-statements