fix: add icons to notification digests

This commit is contained in:
VAIO73
2026-09-17 13:23:37 +02:00
parent 82c3a49f4c
commit 2f8197eb97
2 changed files with 20 additions and 6 deletions
@@ -286,6 +286,9 @@ class RuntimeCatalogTests(unittest.TestCase):
digest = manager._compose_digest_body(rows)
self.assertIn("udalostí INFO zoskupených podľa kategórie", digest)
self.assertIn("Zdroje", digest)
rich_digest = manager._compose_digest_body(rows, use_icons=True)
self.assertIn("📊 Zdroje: 1", rich_digest)
self.assertIn("• 🔥 01:00 Vysoké využitie CPU", rich_digest)
title, body, caption = manager._build_test_message(False, False, "groq / sk")
self.assertEqual(title, "Test ProxMenux")
self.assertIn("Vitajte", body)