forgot to remove exception raise

in last commit
This commit is contained in:
pyth0n1c
2023-01-05 16:38:14 -08:00
parent b333422bca
commit 545a106937
@@ -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()