Skip to content

Commit fa3b1b2

Browse files
authored
Merge pull request Yelp#2457 from Brightspace/test_rule_load_yaml
Switching test_rule to use load_yaml
2 parents e82ab25 + cfa98a1 commit fa3b1b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elastalert/test_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def run_rule_test(self):
410410
args.es_debug_trace = False
411411

412412
conf = load_conf(args, defaults, overwrites)
413-
rule_yaml = conf['rules_loader'].get_yaml(args.file)
413+
rule_yaml = conf['rules_loader'].load_yaml(args.file)
414414
conf['rules_loader'].load_options(rule_yaml, conf, args.file)
415415

416416
if args.json:

0 commit comments

Comments
 (0)