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
@@ -23,7 +23,7 @@ class VkConversationTests(unittest.TestCase):
|
||||
confirmation = dialog.handle(77, "самостоятельно")
|
||||
self.assertIn("подтверд", confirmation.lower())
|
||||
report = dialog.handle(77, "да")
|
||||
self.assertIn("Баллы белки: 4", report)
|
||||
self.assertIn("Баллы белки: 4 баллы.", report)
|
||||
|
||||
def test_bulk_input_is_detected_and_confirmed(self):
|
||||
dialog = BelkiDialog()
|
||||
@@ -75,7 +75,7 @@ class VkConversationTests(unittest.TestCase):
|
||||
self.assertIn("котён", dialog.handle(102, "Дикая Вишня [1604614]").lower())
|
||||
confirmation = dialog.handle(102, "Серолап [1617140]")
|
||||
self.assertIn("25", confirmation)
|
||||
self.assertIn("балл", dialog.handle(102, "да").lower())
|
||||
self.assertIn("#урок", dialog.handle(102, "да"))
|
||||
|
||||
natural = dialog.handle(103, "урок Дикая Вишня 1604614 Серолап 1617140")
|
||||
self.assertIn("25", natural)
|
||||
|
||||
Reference in new issue
Block a user