fix(mutelist): Be called whatever the provider (#3811)

This commit is contained in:
Pepe Fagoaga authored and GitHub committed 2024-04-22 11:16:21 +02:00
1 parent 67f45b7767
commit fd732db91b
9 files changed
+37 -76

No files matched your search

+6 -1
View File
@@ -548,7 +548,12 @@ aws:
def test_aws_provider_mutelist_none(self):
arguments = Namespace()
aws_provider = AwsProvider(arguments)
aws_provider.mutelist = None
with patch(
"prowler.providers.common.provider.get_default_mute_file_path",
return_value=None,
):
aws_provider.mutelist = None
assert aws_provider.mutelist == {}