AIOG-T-64 added logOut method test

This commit is contained in:
Oleg A 2020-11-05 13:27:57 +03:00
parent 9b7afe159c
commit 8fbc182fc9

View file

@ -24,6 +24,14 @@ async def test_get_me(bot: Bot, event_loop):
assert result == user
async def test_log_out(bot: Bot, event_loop):
""" logOut method test """
async with FakeTelegram(message_data=True, loop=event_loop):
result = await bot.log_out()
assert result is True
async def test_send_message(bot: Bot, event_loop):
""" sendMessage method test """
from .types.dataset import MESSAGE