summaryrefslogtreecommitdiffstats
path: root/tests/functional/afr/test_gfid_assignment_on_lookup.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-12-11 21:06:59 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-18 10:22:20 +0000
commitb1dfa315487c2da399988775e5de39354f686b0c (patch)
treec5cefcd8749b3af430763e41ea01154608702cc2 /tests/functional/afr/test_gfid_assignment_on_lookup.py
parente25ca323395f20232ca2e54ea6c966f91ea54e7e (diff)
[py2to3] Add py3 support for tests in 'tests/functional/afr'
Change-Id: Ic14be81f1cd42c470d2bb5c15505fc1bc168a393 Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/afr/test_gfid_assignment_on_lookup.py')
-rw-r--r--tests/functional/afr/test_gfid_assignment_on_lookup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/afr/test_gfid_assignment_on_lookup.py b/tests/functional/afr/test_gfid_assignment_on_lookup.py
index de9e47f21..940f1fdf9 100644
--- a/tests/functional/afr/test_gfid_assignment_on_lookup.py
+++ b/tests/functional/afr/test_gfid_assignment_on_lookup.py
@@ -41,7 +41,7 @@ class AssignGfidOnLookup(GlusterBaseClass):
def setUpClass(cls):
# Calling GlusterBaseClass setUpClass
- GlusterBaseClass.setUpClass.im_func(cls)
+ cls.get_super_method(cls, 'setUpClass')()
# Override Volumes
if cls.volume_type == "replicated":
@@ -82,7 +82,7 @@ class AssignGfidOnLookup(GlusterBaseClass):
raise ExecutionError("Failed to create volume")
g.log.info("Successful in cleaning up Volume %s", cls.volname)
- GlusterBaseClass.tearDownClass.im_func(cls)
+ cls.get_super_method(cls, 'tearDownClass')()
def verify_gfid(self, dirname):
dir_gfids = dict()