summaryrefslogtreecommitdiffstats
path: root/tests/functional/authentication/test_vol_auth.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-11-29 21:57:12 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-12 11:25:22 +0000
commitc0831bdd436d389fe45b3d8fa9061fe3d6827d10 (patch)
treee83a445292840c8c69fc1523d41813976c645cee /tests/functional/authentication/test_vol_auth.py
parent5f9e15da17669665fc7a5f8d2d306082372e967e (diff)
[py2to3] Add py3 support for tests in 'tests/functional/authentication'
Change-Id: I1c568a43bb635720a4aedc75ba844a4f499130fe Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/authentication/test_vol_auth.py')
-rw-r--r--tests/functional/authentication/test_vol_auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/authentication/test_vol_auth.py b/tests/functional/authentication/test_vol_auth.py
index bb3da6f96..646ab3520 100644
--- a/tests/functional/authentication/test_vol_auth.py
+++ b/tests/functional/authentication/test_vol_auth.py
@@ -50,7 +50,7 @@ class AuthRejectVol(GlusterBaseClass):
raise ExecutionError("Volume has not Started")
g.log.info("Volume is started.")
# Calling GlusterBaseClass Setup
- GlusterBaseClass.setUp.im_func(self)
+ self.get_super_method(self, 'setUp')()
def tearDown(self):
# tearDown for every test
@@ -63,7 +63,7 @@ class AuthRejectVol(GlusterBaseClass):
": %s", self.volname)
# Calling GlusterBaseClass tearDown
- GlusterBaseClass.tearDown.im_func(self)
+ self.get_super_method(self, 'tearDown')()
def test_validate_authreject_vol(self):
"""