Jannes Höke
|
c55c5408b1
|
tests and corrections for inlinequery
|
2016-02-07 23:34:15 +01:00 |
|
Jannes Höke
|
d1dc32d849
|
tests and corrections for choseninlineresult
|
2016-02-07 23:26:38 +01:00 |
|
Jannes Höke
|
fc73948c82
|
fix to_dict tests
|
2016-02-07 23:25:48 +01:00 |
|
Jannes Höke
|
70dfb88eb5
|
complete tests for inline results
|
2016-02-07 22:56:25 +01:00 |
|
Jannes Höke
|
2a01292a64
|
Merge branch 'master' into inlinebots
|
2016-02-07 22:42:12 +01:00 |
|
Jannes Höke
|
bec81b5c3b
|
Merge pull request #161 from tsnoam/master
better exception handling
|
2016-02-07 22:34:49 +01:00 |
|
Jannes Höke
|
17ac73c3c4
|
fix message to json
|
2016-02-07 14:46:36 +01:00 |
|
Noam Meltzer
|
d4beb94059
|
Add specific exceptions types for important errors
maintain backward compatibility with the 'old' exception by inherting
from TelegramError and using the same message
|
2016-02-06 18:48:55 +02:00 |
|
Noam Meltzer
|
034d0054ea
|
test_audio: temp. disable duration unitest
due to telegram server bug
|
2016-02-06 18:34:30 +02:00 |
|
Jannes Höke
|
2436cab2e5
|
tests for gif and mpeg4
|
2016-02-03 02:09:05 +01:00 |
|
Jannes Höke
|
08836c60ca
|
tests for InlineQueryResultPhoto
|
2016-01-31 10:52:04 +01:00 |
|
Jannes Höke
|
8d94c14504
|
Merge branch 'master' into inlinebots
|
2016-01-29 23:55:34 +01:00 |
|
Jannes Höke
|
69183d85f7
|
add test for InlineQueryResultArticle
|
2016-01-29 23:54:49 +01:00 |
|
Jannes Höke
|
142cc6e6ad
|
add test for dispatching inline queries/results
|
2016-01-29 23:54:49 +01:00 |
|
Juan Madurga
|
c13af4d61d
|
parse mode for HTML added
|
2016-01-27 11:20:32 +01:00 |
|
Juan Madurga
|
702544f709
|
fix pep8 extra lines
|
2016-01-26 23:58:07 +01:00 |
|
Juan Madurga
|
713f0d1335
|
add tests for replymarkup objects
|
2016-01-26 23:43:16 +01:00 |
|
Jannes Höke
|
44645d2cc6
|
Merge pull request #157 from jlmadurga/context-for-handlers
Add context to dispatcher
|
2016-01-25 17:46:14 +01:00 |
|
Oleg Shlyazhko
|
1000a56e0d
|
more test vor botan module, increase coverage
|
2016-01-24 18:32:12 +03:00 |
|
Oleg Shlyazhko
|
5a2a541ae0
|
rename botan test correctly and move token to ENV
|
2016-01-23 19:09:56 +03:00 |
|
Oleg Shlyazhko
|
bb2cce56a3
|
insert correct appmetrica token instead of bot token in botan test
|
2016-01-23 16:58:44 +03:00 |
|
Oleg Shlyazhko
|
7931045bf3
|
test for botan analytics module
|
2016-01-23 14:24:49 +03:00 |
|
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 |
|
Leandro Toledo
|
1919f873c0
|
Fix tests
|
2015-09-20 12:47:02 -03:00 |
|
Leandro Toledo
|
a1f35355f6
|
Keep bleeding edge features on testing branch
|
2015-09-20 12:43:32 -03:00 |
|
Leandro Toledo
|
b79530b10c
|
Adding File and its tests
|
2015-09-20 12:28:10 -03:00 |
|
Leandro Toledo
|
f623db06ea
|
Revert "Feature/requests"
|
2015-09-16 00:21:45 -03:00 |
|
Leandro Toledo
|
eb557e0eba
|
Keeping features under development off this release
|
2015-09-10 20:37:25 -03:00 |
|
Leandro Toledo
|
354bfcad79
|
legacy tests now run using BaseTest
|
2015-09-10 20:06:27 -03:00 |
|
Leandro Toledo
|
a1e12d424c
|
Fix inverted lat/long
|
2015-09-10 16:59:08 -03:00 |
|
leandrotoledo
|
77977b99b1
|
Add tests to custom filename arg #56
|
2015-09-08 15:52:10 -03:00 |
|
leandrotoledo
|
cfa5e8a6fe
|
Using nose to run tests
|
2015-09-08 15:03:04 -03:00 |
|
leandrotoledo
|
073d43fd75
|
Improve tests for GroupChat and User
|
2015-09-07 20:11:02 -03:00 |
|
leandrotoledo
|
64ca4d7b82
|
Fix travis, this time for real
|
2015-09-07 16:53:01 -03:00 |
|
leandrotoledo
|
6d7542ce50
|
Fix travis
|
2015-09-07 16:33:00 -03:00 |
|
leandrotoledo
|
36dc1633f5
|
Move old tests to legacy dir until get new ones written
|
2015-09-07 15:54:50 -03:00 |
|
leandrotoledo
|
5c4f0f152a
|
Much better, such wow Location tests
|
2015-09-07 14:31:08 -03:00 |
|
leandrotoledo
|
f29a6f0e36
|
Update Document tests class
|
2015-09-07 14:17:41 -03:00 |
|
leandrotoledo
|
1b0c3731de
|
Update Base tests class
|
2015-09-07 14:12:58 -03:00 |
|
leandrotoledo
|
4be946d116
|
Much better, such wow GroupChat tests
|
2015-09-07 14:10:57 -03:00 |
|
leandrotoledo
|
73e36e3b73
|
Much better, such wow User tests
|
2015-09-07 14:03:20 -03:00 |
|
leandrotoledo
|
6141e76693
|
Much better, such wow Update tests
|
2015-09-07 13:55:28 -03:00 |
|
leandrotoledo
|
61ef876532
|
Much better, such wow Contact tests
|
2015-09-07 13:42:51 -03:00 |
|
leandrotoledo
|
060442e0ae
|
Much better, such wow Sticker tests
|
2015-09-07 12:10:29 -03:00 |
|
leandrotoledo
|
2254440671
|
Much better, such wow Document tests
|
2015-09-07 11:55:55 -03:00 |
|
leandrotoledo
|
65a224884f
|
Much better, such wow Audio/Voice/Video tests
|
2015-09-07 11:22:25 -03:00 |
|
leandrotoledo
|
0218aa2f4e
|
Much better, such wow Voice tests
|
2015-09-07 09:56:51 -03:00 |
|
leandrotoledo
|
28e81ee9f6
|
Much better, such wow Audio tests
|
2015-09-07 09:56:41 -03:00 |
|
leandrotoledo
|
30749c3b66
|
Merging testing
|
2015-09-04 23:21:31 -03:00 |
|
leandrotoledo
|
f355af1d2b
|
Restoring new features after rebase
|
2015-09-04 19:11:31 -03:00 |
|
leandrotoledo
|
79cdb6cafe
|
Adding test to check if thumbs are PhotoSize instances
|
2015-09-04 18:58:48 -03:00 |
|
leandrotoledo
|
245238b3a2
|
Keep off some features still in progress
|
2015-09-04 18:03:04 -03:00 |
|
leandrotoledo
|
62f06da897
|
Move command_handler tests to tests/ folder
|
2015-09-04 17:54:30 -03:00 |
|
Leandro Toledo
|
a86fc6c2ac
|
Improving the design of existing Telegram classes
|
2015-08-28 17:45:44 -03:00 |
|
Leandro Toledo
|
1c4595123c
|
Add improvements to tests
|
2015-08-28 13:28:58 -03:00 |
|
Leandro Toledo
|
6837bef9bb
|
Fix tests for Py2.6
|
2015-08-28 13:07:12 -03:00 |
|
Leandro Toledo
|
0f924508f7
|
Fix tests and minor changes
|
2015-08-28 13:02:02 -03:00 |
|
leandrotoledo
|
d03a394075
|
Refactoring, improving the design of existing message class and adding docstrings
|
2015-08-21 14:49:07 -03:00 |
|
Leandro Toledo
|
6e2881b31b
|
Adding support for Voice object and sendVoice method #39
|
2015-08-17 11:34:42 -03:00 |
|
Leandro Toledo
|
686aecb914
|
Fix tests for Python 3
|
2015-08-17 10:01:17 -03:00 |
|
Leandro Toledo
|
56f6845969
|
Adding is_json tests and fixes json serialization when a forwared message #38
|
2015-08-17 09:56:51 -03:00 |
|
Leandro Toledo
|
5dc1e4cac1
|
Use imghdr instead re to match image headers. Fixes #37
|
2015-08-15 15:00:28 -03:00 |
|
Leandro Toledo
|
fda1843593
|
Remove import pdb
|
2015-08-14 15:48:33 -03:00 |
|
Leandro Toledo
|
9b6ccaf94b
|
Convert unix timestamp from date and forward_date in messages to date object #35
|
2015-08-14 15:47:31 -03:00 |
|
Leandro Toledo
|
ecdf32b5f6
|
Apply new Telegram Bot API changes #32
|
2015-08-11 17:32:06 -03:00 |
|
Leandro Toledo
|
163b27b7dd
|
fix license header
|
2015-08-11 16:58:17 -03:00 |
|
Leandro Toledo
|
59b247af94
|
Moving from GPLv2 to LGPLv3
|
2015-08-10 13:57:31 -03:00 |
|
Leandro Toledo
|
09ffd28df5
|
Update tests and logging
|
2015-08-09 09:59:41 -03:00 |
|
leandrotoledo
|
cad325c874
|
Adding logging
|
2015-07-20 08:50:30 -03:00 |
|
leandrotoledo
|
23b99690a1
|
I gave up, no support for Python 3.2 atm.
|
2015-07-15 11:01:11 -03:00 |
|
leandrotoledo
|
da6b7d496e
|
Fix test for Python 3.2
|
2015-07-15 10:55:52 -03:00 |
|
leandrotoledo
|
048fa23fd6
|
Merge branch 'master' of https://github.com/leandrotoledo/python-telegram-bot
|
2015-07-15 10:43:31 -03:00 |
|
leandrotoledo
|
92c3f48cda
|
Removing redundant parentheses, Python3 support, user.name property
|
2015-07-15 10:05:31 -03:00 |
|
leandrotoledo
|
d8912f5290
|
move isFileRequest to InputFile as @staticmethod, new tests written, README updated
|
2015-07-14 05:25:44 -03:00 |
|
Leandro Toledo
|
4a2c09e0cf
|
Releasing 1.8
|
2015-07-12 10:37:33 -03:00 |
|
Leandro Toledo
|
20b856a05f
|
Update test to support UTF8 text messages
|
2015-07-12 10:31:18 -03:00 |
|
Leandro Toledo
|
59d55df99e
|
Fixes crash when username is not defined on chat
|
2015-07-11 10:01:07 -03:00 |
|
Leandro Toledo
|
8ab910bd62
|
Adding URL support to send files
|
2015-07-10 19:46:15 -03:00 |
|
Leandro Toledo
|
5c6d233179
|
Fixes unicode erros when sending files
|
2015-07-10 16:50:33 -03:00 |
|
Leandro Toledo
|
8f8b220bff
|
Get rid of requests requirement, adding sendVideo file test
|
2015-07-10 13:43:35 -03:00 |
|
Leandro Toledo
|
b90b608fb1
|
Add to_json method to classes
|
2015-07-09 11:40:44 -03:00 |
|
Leandro Toledo
|
0214910741
|
Adding ReplyMarkup, ForceReply, renaming methods and minor fixes
|
2015-07-08 21:15:46 -03:00 |
|
Leandro Toledo
|
b39b6241b5
|
Updating README and minor fixes
|
2015-07-08 17:58:50 -03:00 |
|
Leandro Toledo
|
0b19099eea
|
Adding getUserProfilePhotos
|
2015-07-08 10:10:08 -03:00 |
|
Leandro Toledo
|
c20d6465fc
|
Adding sendChatAction, its tests and minor fixes
|
2015-07-08 09:55:06 -03:00 |
|
Leandro Toledo
|
86c1f68419
|
Adding sendLocation, its tests and minor fixes
|
2015-07-08 09:37:25 -03:00 |
|
Leandro Toledo
|
5963649c9a
|
Adding sendVideo and minor fixes
|
2015-07-08 09:17:18 -03:00 |
|
Leandro Toledo
|
635fae04e6
|
Adding Sticker and its tests
|
2015-07-07 23:52:12 -03:00 |
|
Leandro Toledo
|
368fe234f3
|
Adding Document and minor fixes
|
2015-07-07 21:12:51 -03:00 |
|
Leandro Toledo
|
c4cfcaecec
|
Adding PhotoSize and Audio models
|
2015-07-07 20:52:57 -03:00 |
|
Leandro Toledo
|
0b0bc3d550
|
Adding sendAudio method
|
2015-07-07 20:10:43 -03:00 |
|
Leandro Toledo
|
5e2f60ed7d
|
Adding sendPhoto method by file_id
|
2015-07-07 19:06:17 -03:00 |
|
Leandro Toledo
|
f7a15306a8
|
Adding sendPhoto method
|
2015-07-07 18:46:32 -03:00 |
|
Leandro Toledo
|
1b97d99357
|
Adding tests
|
2015-07-07 17:33:59 -03:00 |
|
Leandro Toledo
|
8c3ed7c629
|
Adding tests
|
2015-07-07 17:04:42 -03:00 |
|