From d2f4e2b02a4d87408358548648951ea613a57b92 Mon Sep 17 00:00:00 2001 From: brandon Date: Wed, 11 Jun 2025 15:43:47 -0700 Subject: [PATCH] We don't strictly need to delete all the previous rules to test creating an action --- test/unit/test_actions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test/unit/test_actions.py b/test/unit/test_actions.py index 6d4686db..22ba0edb 100644 --- a/test/unit/test_actions.py +++ b/test/unit/test_actions.py @@ -7,7 +7,6 @@ def test_create_action(gl_experimental: ExperimentalApi): # We first clear out any rules in case the account has any left over from a previous test - gl_experimental.delete_all_rules() name = f"Test {datetime.utcnow()}" det = gl_experimental.get_or_create_detector(name, "test_query") rule = gl_experimental.create_rule(det, f"test_rule_{name}", "EMAIL", "test@example.com")