Polish Russian website and VK bot copy for CatWar players
This commit is contained in:
1 parent
3ebab303a5
commit
955f47ccd6
11 files changed
+105
-100
No files matched your search
@@ -41,7 +41,7 @@ class VkConversationTests(unittest.TestCase):
|
||||
dialog = BelkiDialog()
|
||||
self.assertIn("дат", dialog.handle(77, "/лу").lower())
|
||||
self.assertIn("начал", dialog.handle(77, "15.08").lower())
|
||||
self.assertIn("конец", dialog.handle(77, "11:00").lower())
|
||||
self.assertIn("окончания захода", dialog.handle(77, "11:00").lower())
|
||||
self.assertIn("сопровождающ", dialog.handle(77, "11:20").lower())
|
||||
self.assertIn("котён", dialog.handle(77, "Дикая Вишня [1604614]").lower())
|
||||
self.assertIn("самостоятель", dialog.handle(77, "Серолап [1617140]").lower())
|
||||
@@ -94,7 +94,7 @@ class VkConversationTests(unittest.TestCase):
|
||||
88,
|
||||
"/лу 15.08 11:00 11:20 | Дикая Вишня [1604614] | Серолап [1617140] | самостоятельно",
|
||||
)
|
||||
self.assertIn("распознал", confirmation.lower())
|
||||
self.assertIn("проверьте данные", confirmation.lower())
|
||||
self.assertIn("11:00", confirmation)
|
||||
self.assertIn("подтверд", confirmation.lower())
|
||||
report = dialog.handle(88, "да")
|
||||
@@ -217,7 +217,7 @@ class VkConversationTests(unittest.TestCase):
|
||||
dialog = BelkiDialog(directory)
|
||||
self.assertIn("место", dialog.handle(104, "/осмотр").lower())
|
||||
self.assertIn("сколько", dialog.handle(104, "дупло").lower())
|
||||
self.assertIn("персонаж", dialog.handle(104, "6").lower())
|
||||
self.assertIn("кота", dialog.handle(104, "6").lower())
|
||||
self.assertIn("ресурс", dialog.handle(104, "1617140").lower())
|
||||
self.assertIn("скриншот", dialog.handle(104, "без ресурсов").lower())
|
||||
confirmation = self.add_screenshot(dialog, 104)
|
||||
@@ -256,7 +256,7 @@ class VkConversationTests(unittest.TestCase):
|
||||
dialog.handle(105, "дупло")
|
||||
dialog.handle(105, "1")
|
||||
response = dialog.handle(105, "1617140")
|
||||
self.assertIn("связк", response.lower())
|
||||
self.assertIn("нет сохранённого имени", response.lower())
|
||||
dialog.handle(105, "Серолап")
|
||||
dialog.handle(105, "без ресурсов")
|
||||
confirmation = self.add_screenshot(dialog, 105)
|
||||
|
||||
Reference in new issue
Block a user