mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
68e87db909
* Adding timeunit and day support to the jobqueue * Adding tests * Changed the file permission back to 644. * Changed AssertEqual argument order to (actual, expectd). * Removed the TimeUnit enum and unit param, instead use datetime.time for interval. * Removing the TimeUnits enum and unit param in favour of optionally using a datetime.time as the interval. * Removing the TimeUnits enumeration, forgot the remove it in the last one. * Removed some old docstrings refering to the TimeUnits enum. * Removed the old TimeUnits import. * Adding some error handling for the 'days' argument (only a 'tuple' with 'Days') * Writing the error message directly in the exception. * Moving a debug statement wrongfully saying a job would be running on days it wouldn't. * Writing error messages directly in the exceptions instead of making an extra variable. * Replacing datetime.time in favour of datetime.timedelta because of the get_seconds() method. * Adding error handling for the method . * Splitting the tests up in multiple ones, no float test because I haven't found a reliable way to test it. * Excluding .exrc file. * Removing \ at EOF of ValueError. * Replacing Enums with plain new-style classes. * Using numbers.number to check for ints/floats instead of seperate int/float checks. * Fixing typo, number -> Number. * Changed lower_case Days attributes to UPPER_CASE. * Different formatting for Days class, removed the get_days function in favour of a tuple. * Removed redundant function get_days. * Edited the docstring for next_t to also take datetime.timedelta. * Removed for-loop in favour of any(). * Changed docstring for interval. * Removed debug print. * Changing some docstrings. * Changing some docstrings (again). |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
base.py | ||
test_audio.py | ||
test_bot.py | ||
test_botan.py | ||
test_chat.py | ||
test_choseninlineresult.py | ||
test_constants.py | ||
test_contact.py | ||
test_conversationhandler.py | ||
test_document.py | ||
test_file.py | ||
test_filters.py | ||
test_forcereply.py | ||
test_game.py | ||
test_inlinekeyboardbutton.py | ||
test_inlinekeyboardmarkup.py | ||
test_inlinequery.py | ||
test_inlinequeryresultarticle.py | ||
test_inlinequeryresultaudio.py | ||
test_inlinequeryresultcachedaudio.py | ||
test_inlinequeryresultcacheddocument.py | ||
test_inlinequeryresultcachedgif.py | ||
test_inlinequeryresultcachedmpeg4gif.py | ||
test_inlinequeryresultcachedphoto.py | ||
test_inlinequeryresultcachedsticker.py | ||
test_inlinequeryresultcachedvideo.py | ||
test_inlinequeryresultcachedvoice.py | ||
test_inlinequeryresultcontact.py | ||
test_inlinequeryresultdocument.py | ||
test_inlinequeryresultgif.py | ||
test_inlinequeryresultlocation.py | ||
test_inlinequeryresultmpeg4gif.py | ||
test_inlinequeryresultphoto.py | ||
test_inlinequeryresultvenue.py | ||
test_inlinequeryresultvideo.py | ||
test_inlinequeryresultvoice.py | ||
test_inputcontactmessagecontent.py | ||
test_inputlocationmessagecontent.py | ||
test_inputmessagecontent.py | ||
test_inputtextmessagecontent.py | ||
test_inputvenuemessagecontent.py | ||
test_jobqueue.py | ||
test_keyboardbutton.py | ||
test_location.py | ||
test_message.py | ||
test_messageentity.py | ||
test_parsemode.py | ||
test_photo.py | ||
test_replykeyboardhide.py | ||
test_replykeyboardmarkup.py | ||
test_replymarkup.py | ||
test_sticker.py | ||
test_update.py | ||
test_updater.py | ||
test_user.py | ||
test_venue.py | ||
test_video.py | ||
test_voice.py |