diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-12-09 19:36:23 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2019-12-18 10:11:45 +0000 |
commit | bdc29bccfda390fd3cc2953b43a8653f7653c56f (patch) | |
tree | badda443fc5bf3027658d80dd604d2eaf0830546 /tests/functional/nfs_ganesha/test_nfs_ganesha_run_io_multiple_clients.py | |
parent | 0eaf8c8edf16e99bf9f2dea22ced6655ef99587b (diff) |
[py2to3] Add py3 support in 'tests/functional/nfs_ganesha'
Change-Id: I7a76e0c2e491caffd7ba1b648b47c4c6a687c89a
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/nfs_ganesha/test_nfs_ganesha_run_io_multiple_clients.py')
-rw-r--r-- | tests/functional/nfs_ganesha/test_nfs_ganesha_run_io_multiple_clients.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/functional/nfs_ganesha/test_nfs_ganesha_run_io_multiple_clients.py b/tests/functional/nfs_ganesha/test_nfs_ganesha_run_io_multiple_clients.py index c8b9379df..39a50766a 100644 --- a/tests/functional/nfs_ganesha/test_nfs_ganesha_run_io_multiple_clients.py +++ b/tests/functional/nfs_ganesha/test_nfs_ganesha_run_io_multiple_clients.py @@ -40,7 +40,7 @@ class TestNfsGaneshaWithDifferentIOPatterns(NfsGaneshaClusterSetupClass): """ Setup nfs-ganesha if not exists. """ - NfsGaneshaClusterSetupClass.setUpClass.im_func(cls) + cls.get_super_method(cls, 'setUpClass')() # Setup nfs-ganesha if not exists. ret = cls.setup_nfs_ganesha() @@ -131,6 +131,5 @@ class TestNfsGaneshaWithDifferentIOPatterns(NfsGaneshaClusterSetupClass): @classmethod def tearDownClass(cls): - (NfsGaneshaClusterSetupClass. - tearDownClass. - im_func(cls, delete_nfs_ganesha_cluster=False)) + cls.get_super_method(cls, 'tearDownClass')( + delete_nfs_ganesha_cluster=False) |