python-telegram-bot/tests
Eldinnie 698a91427a
Fix conversationhandler timeout (#1032)
* Fix conversationhandler

As found by @nmlorg and described in #1031

closes #1031

* adding another test and definitely finish conversationhandler

It seems another problem was when the job executed the timeout, it wasn;t removed from `self.conversation_timeouts` which made it still fail because job would be present in the handler dict, although it was already disabled.
This should fix it properly.
2018-03-05 12:18:40 +01:00
..
data Switch to pytest + required fixes to code (#788) 2017-08-12 00:58:41 +03:00
__init__.py Fix travis 2015-09-07 16:33:00 -03:00
bots.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
conftest.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_animation.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_audio.py Increase timeouts on creation of fixtures in tests (#1015) 2018-02-22 15:13:57 +02:00
test_bot.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_callbackquery.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_callbackqueryhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_chat.py More instance methods (#963) 2018-02-18 17:49:52 +02:00
test_chatmember.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_choseninlineresult.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_choseninlineresulthandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_commandhandler.py CommandHandler - ignore strings in entities and "/" followed by whitespace (#1020) 2018-03-01 10:11:16 +02:00
test_constants.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_contact.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_conversationhandler.py Fix conversationhandler timeout (#1032) 2018-03-05 12:18:40 +01:00
test_dispatcher.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_document.py Increase timeouts on creation of fixtures in tests (#1015) 2018-02-22 15:13:57 +02:00
test_error.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_file.py Improved File.download (#1019) 2018-03-01 10:10:04 +02:00
test_filters.py Support v3.6 API (#1006) 2018-02-18 17:11:04 +02:00
test_forcereply.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_game.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_gamehighscore.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_helpers.py Added utils.helpers.effective_message_type (#826) 2018-02-15 11:21:19 +02:00
test_inlinekeyboardbutton.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinekeyboardmarkup.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_inlinequery.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_inlinequeryhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_inlinequeryresultarticle.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultaudio.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedaudio.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcacheddocument.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedgif.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedmpeg4gif.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedphoto.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedsticker.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedvideo.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcachedvoice.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultcontact.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultdocument.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultgame.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultgif.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultlocation.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultmpeg4gif.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultphoto.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultvenue.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultvideo.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inlinequeryresultvoice.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inputcontactmessagecontent.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inputlocationmessagecontent.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inputmedia.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inputtextmessagecontent.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_inputvenuemessagecontent.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_invoice.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_jobqueue.py Remove deprecated code (#1012) 2018-02-22 14:17:06 +02:00
test_keyboardbutton.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_labeledprice.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_location.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_message.py Add Message caption html/markdown methods (#1013) 2018-02-22 17:38:54 +02:00
test_messageentity.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_messagehandler.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_messagequeue.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_meta.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_official.py Remove deprecated code (#1012) 2018-02-22 14:17:06 +02:00
test_orderinfo.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_parsemode.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_photo.py Increase timeouts on creation of fixtures in tests (#1015) 2018-02-22 15:13:57 +02:00
test_precheckoutquery.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_precheckoutqueryhandler.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_regexhandler.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_replykeyboardmarkup.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_replykeyboardremove.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_shippingaddress.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_shippingoption.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_shippingquery.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_shippingqueryhandler.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_sticker.py Increase timeouts on creation of fixtures in tests (#1015) 2018-02-22 15:13:57 +02:00
test_stringcommandhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_stringregexhandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_successfulpayment.py flake8 revamp 2018-02-19 12:41:38 +02:00
test_telegramobject.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_typehandler.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_update.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_updater.py Updater improvements (#1018) 2018-03-02 23:11:16 +02:00
test_user.py More instance methods (#963) 2018-02-18 17:49:52 +02:00
test_userprofilephotos.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_venue.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_video.py Increase timeouts on creation of fixtures in tests (#1015) 2018-02-22 15:13:57 +02:00
test_videonote.py Increase timeouts on creation of fixtures in tests (#1015) 2018-02-22 15:13:57 +02:00
test_voice.py Increase timeouts on creation of fixtures in tests (#1015) 2018-02-22 15:13:57 +02:00
travis_fold.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00