temporarily skip tests failing b/c missing api 4.5 (#1738)

This commit is contained in:
Bibo-Joshi 2020-01-30 19:57:16 +01:00 committed by GitHub
parent 408062dd43
commit 7cde6ca268
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 0 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)