diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-12-11 21:06:59 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2019-12-18 10:22:20 +0000 |
commit | b1dfa315487c2da399988775e5de39354f686b0c (patch) | |
tree | c5cefcd8749b3af430763e41ea01154608702cc2 /tests/functional/afr/test_quota_limit_entry_heal.py | |
parent | e25ca323395f20232ca2e54ea6c966f91ea54e7e (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_quota_limit_entry_heal.py')
-rw-r--r-- | tests/functional/afr/test_quota_limit_entry_heal.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/functional/afr/test_quota_limit_entry_heal.py b/tests/functional/afr/test_quota_limit_entry_heal.py index 033d326f4..9ae7c2013 100644 --- a/tests/functional/afr/test_quota_limit_entry_heal.py +++ b/tests/functional/afr/test_quota_limit_entry_heal.py @@ -43,8 +43,7 @@ class QuotaEntrySelfHealTest(GlusterBaseClass): """ @classmethod def setUpClass(cls): - - GlusterBaseClass.setUpClass.im_func(cls) + cls.get_super_method(cls, 'setUpClass')() # Override Volumes if cls.volume_type == "replicated": @@ -55,7 +54,7 @@ class QuotaEntrySelfHealTest(GlusterBaseClass): 'transport': 'tcp'} def setUp(self): - GlusterBaseClass.setUp.im_func(self) + self.get_super_method(self, 'setUp')() g.log.info("Starting to Setup Volume %s", self.volname) self.all_mounts_procs = [] @@ -92,7 +91,7 @@ class QuotaEntrySelfHealTest(GlusterBaseClass): g.log.info("Successful in umounting the volume and Cleanup") # Calling GlusterBaseClass teardown - GlusterBaseClass.tearDown.im_func(self) + self.get_super_method(self, 'tearDown')() def test_entry_heal_with_quota(self): """ |