Incident -> Alert Group (#2090)
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
This commit is contained in:
parent
f977f9faee
commit
abc1c94355
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ class AlertPhoneCallRenderer(AlertBaseRenderer):
|
|||
|
||||
class AlertGroupPhoneCallRenderer(AlertGroupBaseRenderer):
|
||||
TEMPLATE = (
|
||||
"You are invited to check an incident from Grafana OnCall. "
|
||||
"You are invited to check an Alert Group from Grafana OnCall. "
|
||||
"Alert via {integration_name} with title {title} triggered {alert_count} times"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ def test_render_for_phone_call(
|
|||
)
|
||||
|
||||
expected_verbose_name = (
|
||||
f"to check an incident from Grafana OnCall. "
|
||||
f"to check an Alert Group from Grafana OnCall. "
|
||||
f"Alert via {alert_receive_channel.verbal_name} - Grafana with title TestAlert triggered 1 times"
|
||||
)
|
||||
rendered_text = AlertGroupPhoneCallRenderer(alert_group).render()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue