python-telegram-bot/tests
Bibo-Joshi 2a4a0d0ccd
Refactor Defaults Integration (#2363)
* Change default handling, update signatures, get existing tests to pass.

* Try running tests on ubuntu 18.04

* Roll back

* Rework check_shortcut_call tests

* Further improve check_shortcut_call tests

* Start on defaults-checks for shortcuts, get it working for test_message

* Add check_shortcut_defaults to all other shortcut tests

* Some fine tuning

* Add defaults checking for bot methods

* Missing tests for TestCallbackQuery

* Test edit_message_media with defaults & some comments

* Fix cryptography requirement

* drop debug prints

* Remove debug prints

* Another try

* Try to fix coverage & logs

* Rearrange test order

* increase coverage

* Try to fix coverage reports

* address review

* Adapt tests like in #2386

* fix CI

* fix CI
2021-02-19 19:07:48 +01:00
..
data API 5.0 (#2181) 2020-11-29 16:20:46 +01:00
__init__.py Fix travis 2015-09-07 16:33:00 -03:00
bots.py Update copyright headers 2021-01-03 10:40:24 +05:30
conftest.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
plugin_github_group.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_animation.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_audio.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_bot.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_botcommand.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_callbackcontext.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_callbackquery.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_callbackqueryhandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_chat.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_chatlocation.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_chatmember.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_chatpermissions.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_chatphoto.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_choseninlineresult.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_choseninlineresulthandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_commandhandler.py Add pyupgrade to pre-commit Hooks (#2301) 2021-01-17 23:24:20 +01:00
test_constants.py Make cryptography Dependency Optional & Refactor Some Tests (#2386) 2021-02-13 22:07:37 +01:00
test_contact.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_conversationhandler.py ConversationHandler: Docs & edited_channel_post behavior (#2339) 2021-02-01 19:26:03 +01:00
test_defaults.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_dice.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_dispatcher.py Add pyupgrade to pre-commit Hooks (#2301) 2021-01-17 23:24:20 +01:00
test_document.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_encryptedcredentials.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_encryptedpassportelement.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_error.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_file.py Add pyupgrade to pre-commit Hooks (#2301) 2021-01-17 23:24:20 +01:00
test_filters.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_forcereply.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_game.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_gamehighscore.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_helpers.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_inlinekeyboardbutton.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinekeyboardmarkup.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequery.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_inlinequeryhandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultarticle.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultaudio.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultcachedaudio.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultcacheddocument.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultcachedgif.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultcachedmpeg4gif.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultcachedphoto.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultcachedsticker.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultcachedvideo.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultcachedvoice.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultcontact.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultdocument.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultgame.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultgif.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultlocation.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultmpeg4gif.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultphoto.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultvenue.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultvideo.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inlinequeryresultvoice.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inputcontactmessagecontent.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inputfile.py Add pyupgrade to pre-commit Hooks (#2301) 2021-01-17 23:24:20 +01:00
test_inputlocationmessagecontent.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inputmedia.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_inputtextmessagecontent.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_inputvenuemessagecontent.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_invoice.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_jobqueue.py Adjust Calling of Dispatcher.update_persistence (#2285) 2021-01-07 21:31:00 +01:00
test_keyboardbutton.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_keyboardbuttonpolltype.py Update Copyright (#2289) 2021-01-04 17:24:14 +01:00
test_labeledprice.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_location.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_loginurl.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_message.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_messageentity.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_messagehandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_messageid.py Add pyupgrade to pre-commit Hooks (#2301) 2021-01-17 23:24:20 +01:00
test_messagequeue.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_meta.py Make cryptography Dependency Optional & Refactor Some Tests (#2386) 2021-02-13 22:07:37 +01:00
test_no_passport.py Make cryptography Dependency Optional & Refactor Some Tests (#2386) 2021-02-13 22:07:37 +01:00
test_official.py Make cryptography Dependency Optional & Refactor Some Tests (#2386) 2021-02-13 22:07:37 +01:00
test_orderinfo.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_parsemode.py Add pyupgrade to pre-commit Hooks (#2301) 2021-01-17 23:24:20 +01:00
test_passport.py Add Missing telegram.SecureValue to init and Docs (#2398) 2021-02-19 17:46:52 +01:00
test_passportelementerrordatafield.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_passportelementerrorfile.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_passportelementerrorfiles.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_passportelementerrorfrontside.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_passportelementerrorreverseside.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_passportelementerrorselfie.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_passportelementerrortranslationfile.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_passportelementerrortranslationfiles.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_passportelementerrorunspecified.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_passportfile.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_persistence.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_photo.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_poll.py Add pyupgrade to pre-commit Hooks (#2301) 2021-01-17 23:24:20 +01:00
test_pollanswerhandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_pollhandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_precheckoutquery.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_precheckoutqueryhandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_promise.py python-telegram-bot-raw (#2324) 2021-01-30 14:15:39 +01:00
test_proximityalerttriggered.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_regexhandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_replykeyboardmarkup.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_replykeyboardremove.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_request.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_shippingaddress.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_shippingoption.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_shippingquery.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_shippingqueryhandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_sticker.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_stringcommandhandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_stringregexhandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_successfulpayment.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_telegramobject.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_typehandler.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_update.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_updater.py Make cryptography Dependency Optional & Refactor Some Tests (#2386) 2021-02-13 22:07:37 +01:00
test_user.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_userprofilephotos.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_utils.py python-telegram-bot-raw (#2324) 2021-01-30 14:15:39 +01:00
test_venue.py Update copyright headers 2021-01-03 10:40:24 +05:30
test_video.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_videonote.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_voice.py Refactor Defaults Integration (#2363) 2021-02-19 19:07:48 +01:00
test_webhookinfo.py Add pyupgrade to pre-commit Hooks (#2301) 2021-01-17 23:24:20 +01:00