From 6094fd13a3ccafa075e0c6f260ee51a185a655c9 Mon Sep 17 00:00:00 2001 From: Oleg Abramov Date: Wed, 4 Apr 2018 13:51:18 +0300 Subject: [PATCH] Fixed test description (with file_id) --- tests/test_bot.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_bot.py b/tests/test_bot.py index ef8161ed..ac0b99e6 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -78,7 +78,7 @@ async def test_forward_message(bot: Bot, event_loop): @pytest.mark.asyncio async def test_photo_message(bot: Bot, event_loop): - """ sendPhoto method test """ + """ sendPhoto method test with file_id """ from .types.dataset import MESSAGE_WITH_PHOTO, PHOTO msg = types.Message(**MESSAGE_WITH_PHOTO) photo = types.PhotoSize(**PHOTO) @@ -91,7 +91,7 @@ async def test_photo_message(bot: Bot, event_loop): @pytest.mark.asyncio async def test_send_audio(bot: Bot, event_loop): - """ sendAudio method test """ + """ sendAudio method test with file_id """ from .types.dataset import MESSAGE_WITH_AUDIO msg = types.Message(**MESSAGE_WITH_AUDIO) @@ -104,7 +104,7 @@ async def test_send_audio(bot: Bot, event_loop): @pytest.mark.asyncio async def test_send_document(bot: Bot, event_loop): - """ sendDocument method test """ + """ sendDocument method test with file_id """ from .types.dataset import MESSAGE_WITH_DOCUMENT msg = types.Message(**MESSAGE_WITH_DOCUMENT) @@ -116,7 +116,7 @@ async def test_send_document(bot: Bot, event_loop): @pytest.mark.asyncio async def test_send_video(bot: Bot, event_loop): - """ sendVideo method test """ + """ sendVideo method test with file_id """ from .types.dataset import MESSAGE_WITH_VIDEO, VIDEO msg = types.Message(**MESSAGE_WITH_VIDEO) video = types.Video(**VIDEO) @@ -131,7 +131,7 @@ async def test_send_video(bot: Bot, event_loop): @pytest.mark.asyncio async def test_send_voice(bot: Bot, event_loop): - """ sendVoice method test """ + """ sendVoice method test with file_id """ from .types.dataset import MESSAGE_WITH_VOICE, VOICE msg = types.Message(**MESSAGE_WITH_VOICE) voice = types.Voice(**VOICE) @@ -145,7 +145,7 @@ async def test_send_voice(bot: Bot, event_loop): @pytest.mark.asyncio async def test_send_video_note(bot: Bot, event_loop): - """ sendVideoNote method test """ + """ sendVideoNote method test with file_id """ from .types.dataset import MESSAGE_WITH_VIDEO_NOTE, VIDEO_NOTE msg = types.Message(**MESSAGE_WITH_VIDEO_NOTE) video_note = types.VideoNote(**VIDEO_NOTE)