From c68e7571bb68e38d2cd892c474c2eade1b91c921 Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Tue, 31 Dec 2024 06:44:15 -0800 Subject: [PATCH] Updates tests for latest pylint --- lambda/tests/test_new_account_trust_policy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambda/tests/test_new_account_trust_policy.py b/lambda/tests/test_new_account_trust_policy.py index 10c53e5..13e18ab 100644 --- a/lambda/tests/test_new_account_trust_policy.py +++ b/lambda/tests/test_new_account_trust_policy.py @@ -286,7 +286,7 @@ def test_lambda_handler_valid_arguments( initial_trust_policy, replacement_trust_policy, monkeypatch, -): # pylint: disable=too-many-arguments +): # pylint: disable=too-many-positional-arguments """Invoke the lambda handler with only valid arguments.""" assume_role_name = "TEST_TRUST_POLICY_VALID_ASSUME_ROLE" update_role_name = "TEST_TRUST_POLICY_VALID_UPDATE_ROLE" @@ -336,7 +336,7 @@ def test_lambda_handler_same_roles( initial_trust_policy, replacement_trust_policy, monkeypatch, -): # pylint: disable=too-many-arguments +): # pylint: disable=too-many-positional-arguments """Invoke the lambda handler with the same assume and update role.""" assume_role_name = "TEST_TRUST_POLICY_VALID_ROLE" monkeypatch.setenv("ASSUME_ROLE_NAME", assume_role_name)