python-telegram-bot/tests
Eldinnie b02b68880f Make dispatcher use one context per update (#1283)
* Make dispatcher use one context per update

It gives user the option to `overload` context with their own properties in a lower group handler if they like

* Improve callbackcontext & run_async docstring

- Add note about how you can add custom attributes to context.
- Add warnings about how run_async and custom attributes should not be used together.

* Small documentation improvements. [ci skip]
2019-02-13 12:18:37 +01:00
..
data Allow filenames without dots in them when sending files (#1228) 2018-09-30 12:07:17 +02:00
__init__.py Fix travis 2015-09-07 16:33:00 -03:00
bots.py Update tests to support new test bots 2018-10-14 12:15:27 +02:00
conftest.py Merge branch 'master' into V12 2019-02-08 12:49:28 +01:00
test_animation.py Update test animation size 2019-02-08 20:21:24 +01:00
test_audio.py Fix a bunch of tests 2019-01-30 20:40:53 +01:00
test_bot.py Update Filters, CommandHandler and MessageHandler (#1221) 2019-02-13 12:07:25 +01:00
test_callbackcontext.py Update Filters, CommandHandler and MessageHandler (#1221) 2019-02-13 12:07:25 +01:00
test_callbackquery.py Remove message decorator to fix default timeouts. (#1156) 2019-02-13 11:37:13 +01:00
test_callbackqueryhandler.py Update Filters, CommandHandler and MessageHandler (#1221) 2019-02-13 12:07:25 +01:00
test_chat.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +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 Fix a bunch of flake8 W504 errors 2019-02-08 20:55:40 +01:00
test_commandhandler.py Update Filters, CommandHandler and MessageHandler (#1221) 2019-02-13 12:07:25 +01:00
test_constants.py Change MAX_CAPTION_LENGTH to 1024 (#1262) 2018-10-16 19:51:57 +02:00
test_contact.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_conversationhandler.py Allowed to use Handlers on conversation timeout (#1217) 2018-10-04 08:58:40 +02:00
test_dispatcher.py Make dispatcher use one context per update (#1283) 2019-02-13 12:18:37 +01:00
test_document.py Fix a bunch of tests 2019-01-30 20:40:53 +01:00
test_encryptedcredentials.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_encryptedpassportelement.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_error.py Add Conflict error (HTTP error code 409) (#1154) 2018-10-29 22:08:52 +01:00
test_file.py Improved File.download (#1019) 2018-03-01 10:10:04 +02:00
test_filters.py Update Filters, CommandHandler and MessageHandler (#1221) 2019-02-13 12:07:25 +01:00
test_forcereply.py Small test fixes to make them more stable on travis CI 2018-09-07 16:07:27 +02:00
test_game.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_gamehighscore.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_helpers.py Fix #1335: Message.MESSAGE_TYPES does not contain "left_chat_member" (#1336) 2019-02-08 11:02:54 +01:00
test_inlinekeyboardbutton.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinekeyboardmarkup.py Add convenience classmethods for InlineKeyboardMarkup (fixes #1186) (#1260) 2019-01-04 21:04:45 +01:00
test_inlinequery.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_inlinequeryhandler.py Update Filters, CommandHandler and MessageHandler (#1221) 2019-02-13 12:07:25 +01:00
test_inlinequeryresultarticle.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultaudio.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultcachedaudio.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultcacheddocument.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultcachedgif.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultcachedmpeg4gif.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultcachedphoto.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultcachedsticker.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultcachedvideo.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultcachedvoice.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultcontact.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultdocument.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultgame.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultgif.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultlocation.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultmpeg4gif.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultphoto.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultvenue.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultvideo.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inlinequeryresultvoice.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inputcontactmessagecontent.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inputfile.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inputlocationmessagecontent.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inputmedia.py Fix flake8 errors that only show in CI?? 2019-01-30 20:20:35 +01:00
test_inputtextmessagecontent.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_inputvenuemessagecontent.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_invoice.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_jobqueue.py Merge branch 'master' into V12 2019-02-09 18:45:00 +01: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 Mark location sending test as xfail as it seems to fail randomly 2019-02-08 20:22:44 +01:00
test_message.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_messageentity.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_messagehandler.py Update Filters, CommandHandler and MessageHandler (#1221) 2019-02-13 12:07:25 +01:00
test_messagequeue.py Fix flake8 errors that only show in CI?? 2019-01-30 20:20:35 +01:00
test_meta.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_official.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_orderinfo.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_parsemode.py add text mention for message parse (#1206) 2018-09-25 20:07:55 +02:00
test_passport.py Fix a bunch of flake8 W504 errors 2019-02-08 20:55:40 +01:00
test_passportelementerrordatafield.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_passportelementerrorfile.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_passportelementerrorfiles.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_passportelementerrorfrontside.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_passportelementerrorreverseside.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_passportelementerrorselfie.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_passportelementerrortranslationfile.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_passportelementerrortranslationfiles.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_passportelementerrorunspecified.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_passportfile.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_persistence.py Merge branch 'master' into V12 2019-02-08 12:49:28 +01:00
test_photo.py Fix flake8 errors that only show in CI?? 2019-01-30 20:20:35 +01:00
test_precheckoutquery.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_precheckoutqueryhandler.py Fix a bunch of flake8 W504 errors 2019-02-08 20:55:40 +01:00
test_regexhandler.py Update Filters, CommandHandler and MessageHandler (#1221) 2019-02-13 12:07:25 +01:00
test_replykeyboardmarkup.py Add convenience classmethods for InlineKeyboardMarkup (fixes #1186) (#1260) 2019-01-04 21:04:45 +01:00
test_replykeyboardremove.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_request.py Handle utf8 decoding errors (#1076) 2018-04-17 07:40:02 +03: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 Fix a bunch of flake8 W504 errors 2019-02-08 20:55:40 +01:00
test_sticker.py Small flake8 fix 2019-02-09 18:45:34 +01:00
test_stringcommandhandler.py Fix a bunch of flake8 W504 errors 2019-02-08 20:55:40 +01:00
test_stringregexhandler.py Update Filters, CommandHandler and MessageHandler (#1221) 2019-02-13 12:07:25 +01:00
test_successfulpayment.py pep8 fixes 2018-11-01 11:18:07 +02:00
test_telegramobject.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_typehandler.py Fix a bunch of flake8 W504 errors 2019-02-08 20:55:40 +01:00
test_update.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_updater.py add sleep to bailout error test (#1241) 2018-10-02 09:00:38 +02:00
test_user.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_userprofilephotos.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
test_venue.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
test_video.py Fix a bunch of tests 2019-01-30 20:40:53 +01:00
test_videonote.py Fix a bunch of tests 2019-01-30 20:40:53 +01: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