Skip to content

Commit

Permalink
CART-831 tests: python 3 super doesn't need args
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mallove79 committed Mar 5, 2021
1 parent 86294b4 commit 28b66cd
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/corpc/cart_corpc_five_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/corpc/cart_corpc_one_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/corpc/cart_corpc_two_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/ctl/cart_ctl_five_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/ctl/cart_ctl_one_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/group_test/group_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/iv/cart_iv_one_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/iv/cart_iv_two_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/rpc/cart_rpc_one_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/rpc/cart_rpc_two_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ftest/cart/selftest/cart_selftest_three_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 28b66cd

Please sign in to comment.