Merge branch 'master' into default_parse_mode

This commit is contained in:
Hinrich Mahler 2020-01-30 20:32:06 +01:00
commit b838c280e8
8 changed files with 8 additions and 0 deletions

View file

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

View file

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

View file

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

View file

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

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

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

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

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