diff --git a/logprep/util/auto_rule_tester/auto_rule_tester.py b/logprep/util/auto_rule_tester/auto_rule_tester.py index 4f6a91344..c1837ae3b 100644 --- a/logprep/util/auto_rule_tester/auto_rule_tester.py +++ b/logprep/util/auto_rule_tester/auto_rule_tester.py @@ -753,9 +753,7 @@ def _get_rules_to_add(processor_cfg) -> list: if processor_cfg.get("rules"): rules_to_add.append(("rules", processor_cfg["rules"])) - elif ( - processor_cfg.get("generic_rules") and processor_cfg.get("specific_rules") - ): + elif processor_cfg.get("generic_rules") and processor_cfg.get("specific_rules"): rules_to_add.append(("generic_rules", processor_cfg["generic_rules"][0])) rules_to_add.append(("specific_rules", processor_cfg["specific_rules"][0]))