1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #840 from drforse/master

fix test
This commit is contained in:
Badiboy 2020-05-12 20:21:40 +03:00 committed by GitHub
commit e5ad9ab383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,8 +61,9 @@ def update_type(message):
shipping_query = None
pre_checkout_query = None
poll = None
poll_answer = None
return types.Update(1001234038283, message, edited_message, channel_post, edited_channel_post, inline_query,
chosen_inline_result, callback_query, shipping_query, pre_checkout_query, poll)
chosen_inline_result, callback_query, shipping_query, pre_checkout_query, poll, poll_answer)
@pytest.fixture()
@ -76,9 +77,10 @@ def reply_to_message_update_type(reply_to_message):
shipping_query = None
pre_checkout_query = None
poll = None
poll_answer = None
return types.Update(1001234038284, reply_to_message, edited_message, channel_post, edited_channel_post,
inline_query,
chosen_inline_result, callback_query, shipping_query, pre_checkout_query, poll)
chosen_inline_result, callback_query, shipping_query, pre_checkout_query, poll, poll_answer)
def next_handler(message):