diff --git a/tests/test_bot.py b/tests/test_bot.py index cf1c3c3b..bbfb91fb 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -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