LU 1 nonsam
This commit is contained in:
1 parent
ec5a1a197a
commit
aa4c5f3681
5 files changed
+28
-25
No files matched your search
@@ -62,13 +62,13 @@ class VkConversationTests(unittest.TestCase):
|
||||
self.assertIn("Котёнок 2: Малыш [123456]", dialog._confirmation(dialog._states[80]))
|
||||
self.assertIn("самостоятель", response.lower())
|
||||
|
||||
def test_multiple_kittens_reject_mixed_independence_status(self):
|
||||
def test_lu_allows_one_nonself_kitten(self):
|
||||
dialog = BelkiDialog()
|
||||
dialog.handle(81, "/лу")
|
||||
for answer in ("15.08", "11:00", "12:00", "Дикая Вишня [1604614]"):
|
||||
dialog.handle(81, answer)
|
||||
response = dialog.handle(81, "Беззубик [1] самостоятельно, Малыш [2] несамостоятельно")
|
||||
self.assertIn("Все котята", response)
|
||||
self.assertIn("скриншот", response.lower())
|
||||
|
||||
def test_bulk_input_is_detected_and_confirmed(self):
|
||||
dialog = BelkiDialog()
|
||||
|
||||
Reference in new issue
Block a user