mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
temporarily skip tests failing b/c missing api 4.5 (#1738)
This commit is contained in:
parent
408062dd43
commit
7cde6ca268
8 changed files with 8 additions and 0 deletions
|
@ -109,6 +109,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)
|
||||
|
||||
|
|
|
@ -119,6 +119,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)
|
||||
|
||||
|
|
|
@ -108,6 +108,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)
|
||||
|
||||
|
|
|
@ -141,6 +141,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)
|
||||
|
||||
|
|
|
@ -128,6 +128,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)
|
||||
|
||||
|
|
|
@ -98,6 +98,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