diff --git a/tests/test_handler_backends.py b/tests/test_handler_backends.py index 6ed2c18..9605900 100644 --- a/tests/test_handler_backends.py +++ b/tests/test_handler_backends.py @@ -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):