Incident -> Alert Group (#2090)

Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
This commit is contained in:
Matvey Kukuy 2023-07-26 18:08:07 +03:00 committed by GitHub
parent f977f9faee
commit abc1c94355
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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"
)

View file

@ -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()