mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
fix(ClientError): handle ClientErrors in DynamoDB and Directory Service (#2400)
This commit is contained in:
@@ -326,13 +326,13 @@ class Test_IAM_Service:
|
||||
def test__get_account_summary__(self):
|
||||
# Generate IAM Client
|
||||
iam_client = client("iam")
|
||||
account_summary = iam_client.get_account_summary()
|
||||
account_summary = iam_client.get_account_summary()["SummaryMap"]
|
||||
|
||||
# IAM client for this test class
|
||||
audit_info = self.set_mocked_audit_info()
|
||||
iam = IAM(audit_info)
|
||||
|
||||
assert iam.account_summary == account_summary
|
||||
assert iam.account_summary["SummaryMap"] == account_summary
|
||||
|
||||
# Test IAM Get Password Policy
|
||||
@mock_iam
|
||||
|
||||
Reference in New Issue
Block a user