python-telegram-bot/tests
Delgan e67b995e64
Make Errors picklable (#2106)
* Fix TypeError while unpickling TelegramError (and children)

* Add more extensive unit tests for errors pickling

* Move error pickling tests back to "test_error.py"

* Add test making sure that new errors are covered by tests

* Make meta test independent of sorting

Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
2020-10-04 18:15:36 +02:00
..
data API 4.7 (#1858) 2020-04-10 19:22:45 +02:00
__init__.py Fix travis 2015-09-07 16:33:00 -03:00
bots.py Add supegroup for each test bot (#1919) 2020-05-01 21:29:18 +03:00
conftest.py Refactor Dispatcher.run_async (#2051) 2020-10-04 17:20:33 +02:00
plugin_github_group.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
test_animation.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_audio.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_bot.py Automatic Pagination for answer_inline_query (#2072) 2020-09-27 14:11:49 +02:00
test_botcommand.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_callbackcontext.py Refactor Dispatcher.run_async (#2051) 2020-10-04 17:20:33 +02:00
test_callbackquery.py Add missing shortcuts (#2043) 2020-08-13 13:39:43 +02:00
test_callbackqueryhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_chat.py Add missing shortcuts (#2043) 2020-08-13 13:39:43 +02:00
test_chatmember.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_chatpermissions.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_chatphoto.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_choseninlineresult.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_choseninlineresulthandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_commandhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_constants.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_contact.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_conversationhandler.py Refactor Dispatcher.run_async (#2051) 2020-10-04 17:20:33 +02:00
test_defaults.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_dice.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_dispatcher.py Refactor Dispatcher.run_async (#2051) 2020-10-04 17:20:33 +02:00
test_document.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_encryptedcredentials.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_encryptedpassportelement.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_error.py Make Errors picklable (#2106) 2020-10-04 18:15:36 +02:00
test_file.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_filters.py Add Filters.via_bot (#2009) 2020-07-14 21:51:36 +02:00
test_forcereply.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_game.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_gamehighscore.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_helpers.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinekeyboardbutton.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinekeyboardmarkup.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequery.py Automatic Pagination for answer_inline_query (#2072) 2020-09-27 14:11:49 +02:00
test_inlinequeryhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultarticle.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultaudio.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultcachedaudio.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultcacheddocument.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultcachedgif.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultcachedmpeg4gif.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultcachedphoto.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultcachedsticker.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultcachedvideo.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultcachedvoice.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultcontact.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultdocument.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultgame.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultgif.py API 4.9 (#1980) 2020-06-22 20:09:52 +02:00
test_inlinequeryresultlocation.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultmpeg4gif.py API 4.9 (#1980) 2020-06-22 20:09:52 +02:00
test_inlinequeryresultphoto.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultvenue.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultvideo.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inlinequeryresultvoice.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inputcontactmessagecontent.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inputfile.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inputlocationmessagecontent.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inputmedia.py Fix setting thumbs with send_media_group (#2093) 2020-09-19 16:50:34 +02:00
test_inputtextmessagecontent.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_inputvenuemessagecontent.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_invoice.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_jobqueue.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_keyboardbutton.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_keyboardbuttonpolltype.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_labeledprice.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_location.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_loginurl.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_message.py Add missing shortcuts (#2043) 2020-08-13 13:39:43 +02:00
test_messageentity.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_messagehandler.py Make MessageHandler filter for Filters.update first (#2085) 2020-09-14 17:55:01 +02:00
test_messagequeue.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_meta.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
test_official.py Automatic Pagination for answer_inline_query (#2072) 2020-09-27 14:11:49 +02:00
test_orderinfo.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_parsemode.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passport.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportelementerrordatafield.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportelementerrorfile.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportelementerrorfiles.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportelementerrorfrontside.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportelementerrorreverseside.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportelementerrorselfie.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportelementerrortranslationfile.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportelementerrortranslationfiles.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportelementerrorunspecified.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_passportfile.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_persistence.py Refactor Dispatcher.run_async (#2051) 2020-10-04 17:20:33 +02:00
test_photo.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_poll.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_pollanswerhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_pollhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_precheckoutquery.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_precheckoutqueryhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_regexhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_replykeyboardmarkup.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_replykeyboardremove.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_request.py Fix Server response could not be decoded using UTF-8 (#1623) 2020-02-03 00:12:27 +02:00
test_shippingaddress.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_shippingoption.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_shippingquery.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_shippingqueryhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_sticker.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_stringcommandhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_stringregexhandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_successfulpayment.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_telegramobject.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_typehandler.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_update.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_updater.py Fix Webhook not working on Windows with Python 3.8+ (#2067) 2020-08-25 22:21:24 +02:00
test_user.py Add missing shortcuts (#2043) 2020-08-13 13:39:43 +02:00
test_userprofilephotos.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_venue.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_video.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_videonote.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00
test_voice.py Remove Python 2 Support (#1715) 2020-06-15 18:20:51 +02:00