diff --git a/test/unit/test_actions.py b/test/unit/test_actions.py index 41f87476..4c0c10ae 100644 --- a/test/unit/test_actions.py +++ b/test/unit/test_actions.py @@ -6,6 +6,8 @@ def test_create_action(gl: ExperimentalApi): + # We first clear out any rules in case the account has any left over from a previous test + gl.delete_all_rules() name = f"Test {datetime.utcnow()}" det = gl.get_or_create_detector(name, "test_query") rule = gl.create_rule(det, "test_rule", "EMAIL", "test@example.com")