feat(boto3-config): Use standard retrier (#1868)

Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
This commit is contained in:
Pepe Fagoaga
2023-02-09 09:58:47 +01:00
committed by GitHub
parent 9df7def14e
commit de281535b1
63 changed files with 105 additions and 1 deletions

View File

@@ -834,6 +834,13 @@ class Test_Parser:
self.parser.parse(command)
assert ex.type == SystemExit
def test_aws_parser_aws_retries_max_attempts(self):
argument = "--aws-retries-max-attempts"
max_retries = "10"
command = [prowler_command, argument, max_retries]
parsed = self.parser.parse(command)
assert parsed.aws_retries_max_attempts == int(max_retries)
def test_parser_azure_auth_sp(self):
argument = "--sp-env-auth"
command = [prowler_command, "azure", argument]