Commit graph

122 commits

Author SHA1 Message Date
Juan Madurga
a6650de93d Add context parameter to dispatcher. Handlers now can updates with a context data if required 2016-01-20 19:56:41 +01:00
Leandro Toledo
2a7b03e7c2 Fix travis - file_size is irrelevant for resend test 2016-01-13 19:15:11 -02:00
Leandro Toledo
9f55c15cc7 Add sendPhoto tests, fix file_id casting to str instead unicode 2016-01-11 22:25:46 -02:00
Leandro Toledo
a32ae8b895 Merge branch 'master' into urls 2016-01-11 22:12:06 -02:00
Leandro Toledo
a539a0c3a5 Add data object for sendPhoto tests 2016-01-11 22:11:29 -02:00
Leandro Toledo
b4abf75524 Fix data objects references for tests to raw files on Githup repo 2016-01-11 21:11:10 -02:00
Leandro Toledo
12d71d5a91 Fix file_size tests for send* by URL 2016-01-11 20:33:17 -02:00
Leandro Toledo
48bf6bfab0 Adding telegram.gif for testing purposes 2016-01-11 20:20:57 -02:00
Leandro Toledo
7227ca3aab Tests for send(Audio,Voice,Video) by URL 2016-01-11 20:19:55 -02:00
Jannes Höke
d10b657521 enable sending by URL for all sendX methods 2016-01-10 15:12:42 +01:00
Jannes Höke
aa8966832b release 3.2 and update copyright notice to 2015-2016 2016-01-05 14:12:03 +01:00
Jannes Höke
2875bae881 Integrate JobQueue with Updater 2016-01-05 13:32:19 +01:00
Jannes Höke
9319903343 rename testclass 2016-01-04 11:08:43 +01:00
Jannes Höke
73f4f26da5 more tests 2016-01-04 02:36:15 +01:00
Jannes Höke
24b2bf335c Increase time for travis testing 2016-01-04 02:12:24 +01:00
Jannes Höke
fc3fa0f515 Increase time for travis testing 2016-01-04 02:11:42 +01:00
Jannes Höke
dd7d1255d1 fixes, tests and examples for job queue 2016-01-04 01:56:22 +01:00
Noam Meltzer
5d168bd479 improve unitest coverage 2016-01-04 00:34:39 +02:00
Noam Meltzer
1c8bb21790 fix python 2.6 unitests which with the backport package unittest2 2016-01-04 00:32:17 +02:00
Noam Meltzer
7734c1d6a6 fix unitests to work with new token validator 2016-01-04 00:32:13 +02:00
Jannes Höke
ea7c54ba07 Release v3.1.1, change author email everywhere 2015-12-21 21:18:53 +01:00
Jannes Höke
3c7b037eaa add additional arguments 'groups' and 'groupdict' for regex handlers 2015-12-21 20:25:31 +01:00
Jannes Höke
c15a1bc151 fix for #123 2015-12-21 19:36:17 +01:00
Jannes Höke
6e158042e1 API updates Oct and Nov 2015-12-16 15:31:02 +01:00
Jannes Höke
56ab40d94f increase time in test multiple messages 2015-12-01 21:58:39 +01:00
Gerd Augsburg
809fe4b74f Updated tests for start_webhook 2015-12-01 14:48:55 +01:00
Jannes Höke
e60694a8cc update test_webhook and add test_webhook_no_ssl 2015-11-30 23:00:56 +01:00
Jannes Höke
628a4c4eac final renaming of files and flake8 2015-11-24 21:06:55 +01:00
Jannes Höke
83d2ca3aa7 assertIsNone(...) to assertTrue(None is ...) 2015-11-24 20:40:40 +01:00
Jannes Höke
29cdfe671e test removehandler methods 2015-11-24 20:34:38 +01:00
Jannes Höke
f21b6046c5 test error in handler, other webhook server functionalites 2015-11-24 19:35:02 +01:00
Jannes Höke
e1f3f346bc Test for Update.idle() 2015-11-24 14:57:54 +01:00
Jannes Höke
658b5ff1c0 update tests 2015-11-22 19:16:49 +01:00
Jannes Höke
15501e185b renamed broadcaster.py to dispatcher.py 2015-11-22 14:52:41 +01:00
Jannes Höke
1782d0d19b refactor Broadcaster to Dispatcher 2015-11-22 14:47:38 +01:00
Jannes Höke
c7a1d8dca3 test additional arguments 2015-11-22 14:08:33 +01:00
Jannes Höke
4d87e236be Use random port for travis and py2&/py3 compability 2015-11-21 23:22:41 +01:00
Jannes Höke
29ab0556f0 test Webhook completed 2015-11-21 23:09:44 +01:00
Jannes Höke
6a80a33aef test for error on getUpdates and began to test webhook 2015-11-21 21:22:58 +01:00
Jannes Höke
6626d4534e test @run_async 2015-11-21 19:35:24 +01:00
Jannes Höke
6b309397e8 send less messages in more time so travis can take its time 2015-11-21 16:18:19 +01:00
Jannes Höke
d38add1a1c really? 2015-11-21 15:50:39 +01:00
Jannes Höke
1c7e784662 add setWebhook to mock bot 2015-11-21 15:48:45 +01:00
Jannes Höke
0006294f29 update tests 2015-11-21 15:45:45 +01:00
Jannes Höke
c1f194a310 change all start() to start_polling() 2015-11-21 15:31:23 +01:00
Jannes Höke
1b79a57673 Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler 2015-11-15 17:38:37 +01:00
leandrotoledo
8f3fe123e3 Fix travis 2015-11-13 10:53:31 -02:00
Jannes Höke
2797111ced First tests for BotEventHandler and Broadcaster 2015-11-10 23:15:37 +01:00
Jannes Höke
0e5b48f3b4 Add tests for Emoji class, since it now contains actual code 2015-11-03 14:47:13 +01:00
Leandro Toledo
cf5d184766 Add type to User and GroupChat classes 2015-10-08 10:19:05 -03:00