Skip to content

Commit

Permalink
Updates tests for latest pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon committed Dec 31, 2024
1 parent 9231176 commit c68e757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda/tests/test_new_account_trust_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c68e757

Please sign in to comment.