Skip to content

Commit 5147b6a

Browse files
feat(alerts): add support for new alerts
1 parent 506c5ac commit 5147b6a

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

tests/unit/test_alerts.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,24 @@ def test_rest_alert_list(alerts_config):
8585
"data": {"min": 20, "max": 80},
8686
},
8787
),
88+
(
89+
"sso_alert",
90+
"account",
91+
"saml_certificate_expired",
92+
"../alerting/v1/alerts",
93+
{
94+
"notifier_list_ids": ["6707da567cd4f300012cd7e4"],
95+
},
96+
),
97+
(
98+
"redirect_alert",
99+
"redirects",
100+
"certificate_renewal_failed",
101+
"../alerting/v1/alerts",
102+
{
103+
"notifier_list_ids": ["6707da567cd4f300012cd7e4"],
104+
},
105+
),
88106
],
89107
)
90108
def test_rest_alert_create(

0 commit comments

Comments
 (0)