Skip to content

Commit

Permalink
Add extra test case for alert data.
Browse files Browse the repository at this point in the history
  • Loading branch information
hhellyer committed Dec 10, 2024
1 parent 4e6963b commit c719c7a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/unit/test_alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@ def test_rest_alert_list(alerts_config):
"zone_names": ["example-secondary.com"],
"notifier_list_ids": ["6707da567cd4f300012cd7e4"],
},
),
(
"test_alert_with_data",
"zone",
"transfer_failed",
"../alerting/v1/alerts",
{
"zone_names": ["example-secondary.com"],
"notifier_list_ids": ["6707da567cd4f300012cd7e4"],
"data": {"min": 20, "max":80}
},
)
],
)
Expand Down

0 comments on commit c719c7a

Please sign in to comment.