fix: Telegram footer shows SAC as sender when SAC delivers the message

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
PTah
2026-05-31 12:41:23 +10:00
parent 366a9c83f7
commit 9dacbd7944
3 changed files with 43 additions and 7 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ def test_daily_report_telegram_html_uses_report_html(db_session):
payload={},
)
assert format_event_telegram_html(event) == (
"<b>📊 OK</b>\nline\n📡 Оповещение: агент (ssh-monitor)"
"<b>📊 OK</b>\nline\n📡 Оповещение: SAC (Security Alert Center)"
)