Skip to content

Commit

Permalink
fix(test): aws mutelist
Browse files Browse the repository at this point in the history
  • Loading branch information
jfagoagas committed Jul 11, 2024
1 parent 0ff6107 commit e18c76b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prowler/providers/aws/lib/mutelist/mutelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class MutelistAWS(Mutelist):
def __init__(
self,
mutelist_content: dict = {},
mutelist_path: str = "",
mutelist_path: str = None,
session: Session = None,
aws_account_id: str = "",
) -> "MutelistAWS":
Expand Down
3 changes: 2 additions & 1 deletion tests/providers/aws/lib/mutelist/aws_mutelist_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ def test_validate_mutelist_not_valid_key(self):
mutelist = MutelistAWS(mutelist_content=mutelist_fixture)

assert not mutelist.validate_mutelist()
assert mutelist.mutelist == mutelist_fixture
assert mutelist.mutelist == {}
assert mutelist.mutelist_file_path is None

def test_mutelist_findings_only_wildcard(self):
# Mutelist
Expand Down

0 comments on commit e18c76b

Please sign in to comment.