mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 04:51:51 +00:00
fix vulture
This commit is contained in:
@@ -85,7 +85,11 @@ class TestAWSFixer:
|
||||
patch("prowler.providers.aws.lib.fix.fixer.logger") as mock_logger,
|
||||
):
|
||||
result = fixer.fix(finding=finding)
|
||||
if "eu-west-1" or "res_id" or "arn:aws:test":
|
||||
if (
|
||||
finding.region
|
||||
or finding.resource_id
|
||||
or getattr(finding, "resource_arn", None)
|
||||
):
|
||||
assert result is True
|
||||
assert mock_print.called
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user