fix: restore report hashtags and format

This commit is contained in:
nyan404 committed 2026-08-16 15:23:56 +03:00
1 parent dfc5e2826a
commit c3af4c62e1
4 files changed
+17 -14

No files matched your search

+4 -3
View File
@@ -84,9 +84,9 @@ class ReportTests(unittest.TestCase):
kitten_independence="несамостоятельно",
)
text = render_coaching(session, calculate_coaching(session))
self.assertIn("15.08 [ЛУ]", text)
self.assertIn("Время: 11:00–11:20 [20 минут]", text)
self.assertIn("Сопровождающий: Дикая Вишня [1604614]", text)
self.assertIn("#лазание", text)
self.assertIn("Дикая Вишня [1604614], помогла Серолап [1617140] прокачать ЛУ.", text)
self.assertIn("Время: 11:00 – 11:20 [20 минут].", text)
self.assertIn("Баллы белки: 6", text)
self.assertIn("Баллы бельчонка: 8", text)
self.assertIn("истории", text)
@@ -107,6 +107,7 @@ class ReportTests(unittest.TestCase):
)
)
self.assertIn("осмотрел(а) дупло 6 раз", text)
self.assertIn("#осмотр", text)
self.assertIn("- 2 вьюнок", text)
self.assertIn("+1 паук", text)
+1 -1
View File
@@ -35,7 +35,7 @@ class VkConversationTests(unittest.TestCase):
self.assertIn("11:00", confirmation)
self.assertIn("подтверд", confirmation.lower())
report = dialog.handle(88, "да")
self.assertIn("15.08 [ЛУ]", report)
self.assertIn("#лазание", report)
def test_bulk_without_skill_requests_clarification(self):
dialog = BelkiDialog()