python-telegram-bot/tests
tal66 076955d04d
Make PTB Specific Keyword-Only Arguments for PTB Specific in Bot methods (#3035)
* Introduce keyword-only arguments in Bot methods

* partial code review fix

* tests, code rev changes

* flake8

* tests, code rev, more shortcut methods

* One more iteration on `check_shortcut_signature`

* Update tests/conftest.py

Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>

Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-05-18 17:18:44 +02:00
..
data Switch to asyncio (#2731) 2022-05-06 18:19:15 +02:00
__init__.py Fix travis 2015-09-07 16:33:00 -03:00
bots.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
conftest.py Make PTB Specific Keyword-Only Arguments for PTB Specific in Bot methods (#3035) 2022-05-18 17:18:44 +02:00
plugin_github_group.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_animation.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_application.py Rename Handler to BaseHandler (#3019) 2022-05-12 18:18:40 +02:00
test_applicationbuilder.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_audio.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_basepersistence.py Rename Handler to BaseHandler (#3019) 2022-05-12 18:18:40 +02:00
test_bot.py Make PTB Specific Keyword-Only Arguments for PTB Specific in Bot methods (#3035) 2022-05-18 17:18:44 +02:00
test_botcommand.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_botcommandscope.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_callbackcontext.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_callbackdatacache.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_callbackquery.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_callbackqueryhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chat.py Make PTB Specific Keyword-Only Arguments for PTB Specific in Bot methods (#3035) 2022-05-18 17:18:44 +02:00
test_chatadministratorrights.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chatinvitelink.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chatjoinrequest.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chatjoinrequesthandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chatlocation.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chatmember.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chatmemberhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chatmemberupdated.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chatpermissions.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_chatphoto.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_choseninlineresult.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_choseninlineresulthandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_commandhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_constants.py Add Tuple Based Version Info and Rename telegram.bot_api_version to telegram.__bot_api_version__ (#3030) 2022-05-14 15:50:12 +02:00
test_contact.py Remove Client-Side Parameter Validation (#3024) 2022-05-12 19:20:24 +02:00
test_contexttypes.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_conversationhandler.py Rename Handler to BaseHandler (#3019) 2022-05-12 18:18:40 +02:00
test_datetime.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_defaults.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_defaultvalue.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_dice.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_dictpersistence.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_document.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_encryptedcredentials.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_encryptedpassportelement.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_error.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_file.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_files.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_filters.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_forcereply.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_game.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_gamehighscore.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_handler.py Rename Handler to BaseHandler (#3019) 2022-05-12 18:18:40 +02:00
test_helpers.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinekeyboardbutton.py Adjust Equality Comparisons to Fit Bot API 6.0 (#3033) 2022-05-18 07:48:20 +02:00
test_inlinekeyboardmarkup.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequery.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultarticle.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultaudio.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultcachedaudio.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultcacheddocument.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultcachedgif.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultcachedmpeg4gif.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultcachedphoto.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultcachedsticker.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultcachedvideo.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultcachedvoice.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultcontact.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultdocument.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultgame.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultgif.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultlocation.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultmpeg4gif.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultphoto.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultvenue.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultvideo.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inlinequeryresultvoice.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inputcontactmessagecontent.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inputfile.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inputinvoicemessagecontent.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inputlocationmessagecontent.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inputmedia.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inputtextmessagecontent.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_inputvenuemessagecontent.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_invoice.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_jobqueue.py Rename Job.context to Job.data (#3028) 2022-05-12 19:26:03 +02:00
test_keyboardbutton.py Adjust Equality Comparisons to Fit Bot API 6.0 (#3033) 2022-05-18 07:48:20 +02:00
test_keyboardbuttonpolltype.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_labeledprice.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_location.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_loginurl.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_menubutton.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_message.py Make PTB Specific Keyword-Only Arguments for PTB Specific in Bot methods (#3035) 2022-05-18 17:18:44 +02:00
test_messageautodeletetimerchanged.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_messageentity.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_messagehandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_messageid.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_meta.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_modules.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_no_passport.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_official.py Make PTB Specific Keyword-Only Arguments for PTB Specific in Bot methods (#3035) 2022-05-18 17:18:44 +02:00
test_orderinfo.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passport.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportelementerrordatafield.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportelementerrorfile.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportelementerrorfiles.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportelementerrorfrontside.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportelementerrorreverseside.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportelementerrorselfie.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportelementerrortranslationfile.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportelementerrortranslationfiles.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportelementerrorunspecified.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_passportfile.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_photo.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_picklepersistence.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_poll.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_pollanswerhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_pollhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_precheckoutquery.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_precheckoutqueryhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_proximityalerttriggered.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_replykeyboardmarkup.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_replykeyboardremove.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_request.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_requestdata.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_requestparameter.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_sentwebappmessage.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_shippingaddress.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_shippingoption.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_shippingquery.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_shippingqueryhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_slots.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_stack.py Switch to asyncio (#2731) 2022-05-06 18:19:15 +02:00
test_sticker.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_stringcommandhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_stringregexhandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_successfulpayment.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_telegramobject.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_trackingdict.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_typehandler.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_update.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_updater.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_user.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_userprofilephotos.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_venue.py Remove Client-Side Parameter Validation (#3024) 2022-05-12 19:20:24 +02:00
test_version.py Add Tuple Based Version Info and Rename telegram.bot_api_version to telegram.__bot_api_version__ (#3030) 2022-05-14 15:50:12 +02:00
test_video.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_videochat.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_videonote.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_voice.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_warnings.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_webappdata.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_webappinfo.py Extend Code Formatting With Black (#2972) 2022-05-06 18:22:35 +02:00
test_webhookinfo.py Adjust Equality Comparisons to Fit Bot API 6.0 (#3033) 2022-05-18 07:48:20 +02:00