From 5cbbcf9bd08c0c9b339727aabd86a80f83a79431 Mon Sep 17 00:00:00 2001 From: Ignacio Bermudez Corrales Date: Wed, 2 Dec 2020 16:36:32 -0800 Subject: [PATCH] fixing testing coverage script --- bin/testing_coverage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/testing_coverage.py b/bin/testing_coverage.py index 2bbb13e392..5ec6508ca0 100644 --- a/bin/testing_coverage.py +++ b/bin/testing_coverage.py @@ -41,7 +41,7 @@ def populate_coverage(types): if test.endswith('.yml') or test.endswith('yaml'): with open(os.path.join(root, test), 'r') as test_fh: test_desc = yaml.safe_load(test_fh) - for t in test_desc['detections']: + for t in test_desc['tests']: detection_desc = parse_detection(get_path("../detections/%s" % t['file'])) detection_type = detection_desc['type'] if detection_type in types: