summaryrefslogtreecommitdiffstats
path: root/tests/functional/quota/test_negative_quota.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/quota/test_negative_quota.py')
-rw-r--r--tests/functional/quota/test_negative_quota.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/quota/test_negative_quota.py b/tests/functional/quota/test_negative_quota.py
index d420dd153..aab912e70 100644
--- a/tests/functional/quota/test_negative_quota.py
+++ b/tests/functional/quota/test_negative_quota.py
@@ -34,7 +34,7 @@ class TestNegativeQuota(GlusterBaseClass):
def setUp(self):
""" creates the volume and mount it"""
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
g.log.info("Creating the vol %s and mount it", self.volname)
ret = self.setup_volume_and_mount_volume(mounts=self.mounts)
if not ret:
@@ -49,7 +49,7 @@ class TestNegativeQuota(GlusterBaseClass):
if not ret:
raise ExecutionError("Failed to delete the "
"volume" % (self.volname))
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
def test_negative_quota_enable(self):
""" This testcase will enable quota by giving negative inputs or