fix: align reports with VK templates
This commit is contained in:
1 parent
c3af4c62e1
commit
c6f742f15b
5 files changed
+22
-20
No files matched your search
+5
-4
@@ -85,16 +85,17 @@ class ReportTests(unittest.TestCase):
|
||||
)
|
||||
text = render_coaching(session, calculate_coaching(session))
|
||||
self.assertIn("#лазание", text)
|
||||
self.assertIn("Дикая Вишня [1604614], помогла Серолап [1617140] прокачать ЛУ.", text)
|
||||
self.assertIn("Дикая Вишня [1604614], помог(-ла) Серолап [1617140] прокачать ЛУ.", text)
|
||||
self.assertIn("Время: 11:00 – 11:20 [20 минут].", text)
|
||||
self.assertIn("Баллы белки: 6", text)
|
||||
self.assertIn("Баллы бельчонка: 8", text)
|
||||
self.assertIn("Баллы белки: 6 баллы.", text)
|
||||
self.assertIn("Баллы бельчонка: 8 баллы.", text)
|
||||
self.assertIn("[Скриншот Игровой с вашим персонажем", text)
|
||||
self.assertIn("истории", text)
|
||||
|
||||
def test_training_report_is_separate(self):
|
||||
text = render_training(TrainingSession("Белка", 1, "Котёнок", 2))
|
||||
self.assertIn("#урок", text)
|
||||
self.assertIn("25", text)
|
||||
self.assertIn("провел(-ла) урок", text)
|
||||
|
||||
def test_inspection_report_lists_zero_and_resources(self):
|
||||
text = render_inspection(
|
||||
|
||||
Reference in new issue
Block a user