From 545a106937e87ddc3d67f8b5ef717733a37ea6c4 Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Thu, 5 Jan 2023 16:38:14 -0800 Subject: [PATCH] forgot to remove exception raise in last commit --- bin/docker_detection_tester/modules/testing_service.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/docker_detection_tester/modules/testing_service.py b/bin/docker_detection_tester/modules/testing_service.py index 047db45a4c..5ca8693b2f 100644 --- a/bin/docker_detection_tester/modules/testing_service.py +++ b/bin/docker_detection_tester/modules/testing_service.py @@ -95,7 +95,6 @@ def test_detection(splunk_ip:str, splunk_port:int, container_name:str, splunk_pa tests:dict = detection_file_obj.get("tests", {}) if len(tests) > 1: print(f"****WARNING - THIS DETECTION CONTAINS {len(tests)} TESTS BUT WE WILL ONLY RUN 1") - raise(Exception(f"Error testing detection {detection_file_obj['name']} - file contains [{len(tests)}] but we currently only support 1 test per detection")) test = tests[0] indices_to_delete = set()