fix: align web reports with current rules

This commit is contained in:
nyan404 committed 2026-09-01 02:03:55 +03:00
1 parent cffaaac755
commit aecbb3bf6a
10 files changed
+47 -12

No files matched your search

+4
View File
@@ -206,6 +206,10 @@ class ReportTests(unittest.TestCase):
self.assertIn("#урок", text)
self.assertIn("провёл(-ла) урок", text)
def test_training_report_includes_the_web_date(self):
text = render_training(TrainingSession("Белка", 1, "Котёнок", 2, date="01.09"))
self.assertEqual(text, "#урок\n01.09\nБелка [1], провёл(-ла) урок Котёнок [2].")
def test_inspection_report_lists_zero_and_resources(self):
text = render_inspection(
InspectionReport(