Add test coverage

This commit is contained in:
ShiroNoHaga 2022-01-14 06:11:33 +02:00
parent 24a1b3840e
commit a77da8c62e

View file

@ -30,4 +30,5 @@ class TestSendChatAction:
response: bool = await bot.send_chat_action(chat_id=42, action=ChatAction.TYPING)
request: Request = bot.get_request()
assert request.method == "sendChatAction"
assert request.data["action"] == "typing"
assert response == prepare_result.result