From 28b66cda74c37f26b181b61b2feca713b360bce1 Mon Sep 17 00:00:00 2001 From: Ethan Mallove Date: Fri, 5 Mar 2021 19:15:34 +0000 Subject: [PATCH] CART-831 tests: python 3 super doesn't need args Address these pylint issues: (pylint-super-with-arguments) Consider using Python 3 style super() without arguments Skip-build-leap15-rpm: true Skip-func-test-leap15: true Skip-build-ubuntu-clang: true Skip-build-leap15-icc: true Skip-coverity-test: true Quick-build: true Test-tag: cart Skip-unit-tests: true Skip-nlt: true Skip-unit-test: true Skip-unit-test-memcheck: true Skip-coverity-test: true Skip-func-hw-test-small: true Skip-func-hw-test-medium: true Skip-func-hw-test-large: true Signed-off-by: Ethan Mallove --- src/tests/ftest/cart/corpc/cart_corpc_five_node.py | 2 +- src/tests/ftest/cart/corpc/cart_corpc_one_node.py | 2 +- src/tests/ftest/cart/corpc/cart_corpc_two_node.py | 2 +- src/tests/ftest/cart/ctl/cart_ctl_five_node.py | 2 +- src/tests/ftest/cart/ctl/cart_ctl_one_node.py | 2 +- .../ftest/cart/ghost_rank_rpc/cart_ghost_rank_prc_one_node.py | 2 +- src/tests/ftest/cart/group_test/group_test.py | 2 +- src/tests/ftest/cart/iv/cart_iv_one_node.py | 2 +- src/tests/ftest/cart/iv/cart_iv_two_node.py | 2 +- .../ftest/cart/nopmix_launcher/cart_nopmix_launcher_one_node.py | 2 +- src/tests/ftest/cart/rpc/cart_rpc_one_node.py | 2 +- ...cart_rpc_one_node_with_swim_notification_on_rank_eviction.py | 2 +- src/tests/ftest/cart/rpc/cart_rpc_two_node.py | 2 +- src/tests/ftest/cart/selftest/cart_selftest_three_node.py | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/tests/ftest/cart/corpc/cart_corpc_five_node.py b/src/tests/ftest/cart/corpc/cart_corpc_five_node.py index 4e991e801e1..58caea04729 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_five_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_five_node.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartCoRpcFiveNodeTest, self).tearDown() + super().tearDown() def test_cart_corpc(self): """ diff --git a/src/tests/ftest/cart/corpc/cart_corpc_one_node.py b/src/tests/ftest/cart/corpc/cart_corpc_one_node.py index 1b2c369c988..604a58ff16c 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_one_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_one_node.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartCoRpcOneNodeTest, self).tearDown() + super().tearDown() def test_cart_corpc(self): """ diff --git a/src/tests/ftest/cart/corpc/cart_corpc_two_node.py b/src/tests/ftest/cart/corpc/cart_corpc_two_node.py index 72625daf98b..75e3010ae62 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_two_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_two_node.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartCoRpcTwoNodeTest, self).tearDown() + super().tearDown() def test_cart_corpc(self): """ diff --git a/src/tests/ftest/cart/ctl/cart_ctl_five_node.py b/src/tests/ftest/cart/ctl/cart_ctl_five_node.py index bf808f0b6d8..3852bbe58f6 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_five_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_five_node.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartCtlFiveNodeTest, self).tearDown() + super().tearDown() def test_cart_ctl(self): """ diff --git a/src/tests/ftest/cart/ctl/cart_ctl_one_node.py b/src/tests/ftest/cart/ctl/cart_ctl_one_node.py index d5325b5885f..de092fcd3a5 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_one_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_one_node.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartCtlOneNodeTest, self).tearDown() + super().tearDown() def test_cart_ctl(self): """ diff --git a/src/tests/ftest/cart/ghost_rank_rpc/cart_ghost_rank_prc_one_node.py b/src/tests/ftest/cart/ghost_rank_rpc/cart_ghost_rank_prc_one_node.py index 9dec1a7c670..f2f1ab94e1b 100755 --- a/src/tests/ftest/cart/ghost_rank_rpc/cart_ghost_rank_prc_one_node.py +++ b/src/tests/ftest/cart/ghost_rank_rpc/cart_ghost_rank_prc_one_node.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartCoRpcOneNodeTest, self).tearDown() + super().tearDown() def test_cart_ghost_rank_rpc(self): """ diff --git a/src/tests/ftest/cart/group_test/group_test.py b/src/tests/ftest/cart/group_test/group_test.py index dd80fcf1614..9f33482489f 100755 --- a/src/tests/ftest/cart/group_test/group_test.py +++ b/src/tests/ftest/cart/group_test/group_test.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(GroupTest, self).tearDown() + super().tearDown() def test_group(self): """ diff --git a/src/tests/ftest/cart/iv/cart_iv_one_node.py b/src/tests/ftest/cart/iv/cart_iv_one_node.py index 6f9e7ab93ae..3b448aa12c0 100755 --- a/src/tests/ftest/cart/iv/cart_iv_one_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_one_node.py @@ -96,7 +96,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartIvOneNodeTest, self).tearDown() + super().tearDown() def _verify_action(self, action): """verify the action""" diff --git a/src/tests/ftest/cart/iv/cart_iv_two_node.py b/src/tests/ftest/cart/iv/cart_iv_two_node.py index 33ee832d6f4..0170bd600fd 100755 --- a/src/tests/ftest/cart/iv/cart_iv_two_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_two_node.py @@ -89,7 +89,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartIvTwoNodeTest, self).tearDown() + super().tearDown() def _verify_action(self, action): """verify the action""" diff --git a/src/tests/ftest/cart/nopmix_launcher/cart_nopmix_launcher_one_node.py b/src/tests/ftest/cart/nopmix_launcher/cart_nopmix_launcher_one_node.py index a7a3d5606be..dda91876a3c 100755 --- a/src/tests/ftest/cart/nopmix_launcher/cart_nopmix_launcher_one_node.py +++ b/src/tests/ftest/cart/nopmix_launcher/cart_nopmix_launcher_one_node.py @@ -34,7 +34,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartNoPmixLauncherOneNodeTest, self).tearDown() + super().tearDown() def test_cart_no_pmix_launcher(self): """ diff --git a/src/tests/ftest/cart/rpc/cart_rpc_one_node.py b/src/tests/ftest/cart/rpc/cart_rpc_one_node.py index fbd1cabb340..ed5b7c4efbe 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_one_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_one_node.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartRpcOneNodeTest, self).tearDown() + super().tearDown() def test_cart_rpc(self): """ diff --git a/src/tests/ftest/cart/rpc/cart_rpc_one_node_with_swim_notification_on_rank_eviction.py b/src/tests/ftest/cart/rpc/cart_rpc_one_node_with_swim_notification_on_rank_eviction.py index 71a1b5fbdbf..a3fa78b36f9 100644 --- a/src/tests/ftest/cart/rpc/cart_rpc_one_node_with_swim_notification_on_rank_eviction.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_one_node_with_swim_notification_on_rank_eviction.py @@ -49,7 +49,7 @@ def setUp(self): def tearDown(self): """Tear down.""" print("tearDown() start") - super(CartRpcOneNodeSwimNotificationOnRankEvictionTest, self).tearDown() + super().tearDown() def test_cart_rpc(self): """ diff --git a/src/tests/ftest/cart/rpc/cart_rpc_two_node.py b/src/tests/ftest/cart/rpc/cart_rpc_two_node.py index 6dfee0ebebb..f6e5413ddce 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_two_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_two_node.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartRpcTwoNodeTest, self).tearDown() + super().tearDown() def test_cart_rpc(self): """ diff --git a/src/tests/ftest/cart/selftest/cart_selftest_three_node.py b/src/tests/ftest/cart/selftest/cart_selftest_three_node.py index 8be98c4f88c..89d02f89cae 100755 --- a/src/tests/ftest/cart/selftest/cart_selftest_three_node.py +++ b/src/tests/ftest/cart/selftest/cart_selftest_three_node.py @@ -33,7 +33,7 @@ def tearDown(self): """ Tear down """ self.report_timeout() self._teardown_errors.extend(self.utils.cleanup_processes()) - super(CartSelfThreeNodeTest, self).tearDown() + super().tearDown() def test_cart_selftest(self): """