Skip to content

Commit 43afef8

Browse files
Apply suggestion from @eric-forte-elastic
Co-authored-by: Eric Forte <[email protected]>
1 parent 3418f8d commit 43afef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_all_rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ def test_preserve_upstream_protected_rule_id_name(self):
11201120

11211121
# map current rules by id and name for quick lookup
11221122
current_rules = {rule.contents.data.get("rule_id"): rule.contents.data.get("name") for rule in self.all_rules}
1123-
failures = []
1123+
failures: list[str] = []
11241124
for rule_id, rule_name in protected_rules.items():
11251125
if rule_id in current_rules:
11261126
if rule_name != current_rules.get(rule_id):

0 commit comments

Comments
 (0)