mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
Merge branch 'master' into default_parse_mode
This commit is contained in:
commit
b838c280e8
8 changed files with 8 additions and 0 deletions
|
@ -143,6 +143,7 @@ class TestAnimation(object):
|
|||
|
||||
@flaky(3, 1)
|
||||
@pytest.mark.timeout(10)
|
||||
@pytest.mark.skip(reason='Doesnt work without API 4.5')
|
||||
def test_resend(self, bot, chat_id, animation):
|
||||
message = bot.send_animation(chat_id, animation.file_id)
|
||||
|
||||
|
|
|
@ -120,6 +120,7 @@ class TestAudio(object):
|
|||
|
||||
@flaky(3, 1)
|
||||
@pytest.mark.timeout(10)
|
||||
@pytest.mark.skip(reason='Doesnt work without API 4.5')
|
||||
def test_resend(self, bot, chat_id, audio):
|
||||
message = bot.send_audio(chat_id=chat_id, audio=audio.file_id)
|
||||
|
||||
|
|
|
@ -109,6 +109,7 @@ class TestDocument(object):
|
|||
|
||||
@flaky(3, 1)
|
||||
@pytest.mark.timeout(10)
|
||||
@pytest.mark.skip(reason='Doesnt work without API 4.5')
|
||||
def test_send_resend(self, bot, chat_id, document):
|
||||
message = bot.send_document(chat_id=chat_id, document=document.file_id)
|
||||
|
||||
|
|
|
@ -175,6 +175,7 @@ class TestPhoto(object):
|
|||
|
||||
@flaky(3, 1)
|
||||
@pytest.mark.timeout(10)
|
||||
@pytest.mark.skip(reason='Doesnt work without API 4.5')
|
||||
def test_get_and_download(self, bot, photo):
|
||||
new_file = bot.getFile(photo.file_id)
|
||||
|
||||
|
|
|
@ -108,6 +108,7 @@ class TestSticker(object):
|
|||
|
||||
@flaky(3, 1)
|
||||
@pytest.mark.timeout(10)
|
||||
@pytest.mark.skip(reason='Doesnt work without API 4.5')
|
||||
def test_resend(self, bot, chat_id, sticker):
|
||||
message = bot.send_sticker(chat_id=chat_id, sticker=sticker.file_id)
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@ class TestVideo(object):
|
|||
|
||||
@flaky(3, 1)
|
||||
@pytest.mark.timeout(10)
|
||||
@pytest.mark.skip(reason='Doesnt work without API 4.5')
|
||||
def test_resend(self, bot, chat_id, video):
|
||||
message = bot.send_video(chat_id, video.file_id)
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ class TestVideoNote(object):
|
|||
|
||||
@flaky(3, 1)
|
||||
@pytest.mark.timeout(10)
|
||||
@pytest.mark.skip(reason='Doesnt work without API 4.5')
|
||||
def test_resend(self, bot, chat_id, video_note):
|
||||
message = bot.send_video_note(chat_id, video_note.file_id)
|
||||
|
||||
|
|
|
@ -99,6 +99,7 @@ class TestVoice(object):
|
|||
|
||||
@flaky(3, 1)
|
||||
@pytest.mark.timeout(10)
|
||||
@pytest.mark.skip(reason='Doesnt work without API 4.5')
|
||||
def test_resend(self, bot, chat_id, voice):
|
||||
message = bot.sendVoice(chat_id, voice.file_id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue