mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-28 22:34:22 +00:00
fix(mutelist): Be called whatever the provider (#3811)
This commit is contained in:
1 parent
67f45b7767
commit
fd732db91b
9 files changed
+37
-76
No files matched your search
@@ -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 == {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user