Commit graph

57 commits

Author SHA1 Message Date
Suren Khorenyan
ad7238fda8 Some refactor 2019-08-10 00:08:11 +03:00
Suren Khorenyan
cabb10bc06 Create some tests 2019-08-10 00:08:11 +03:00
Suren Khorenyan
6cf06bd081 Fix test_states_group name 2019-08-10 00:08:11 +03:00
Alex Root Junior
8823c8f22a
Merge pull request #176 from Birdi7/add-multiple-text-filter
Add multiple text filter
2019-08-05 10:21:23 +03:00
Alex Root Junior
54d5406967
Merge branch 'dev-2.x' into is_chat_member 2019-08-04 21:26:18 +03:00
Gabben
1be6e1f31d Update test_chat_member.py 2019-08-04 23:18:57 +05:00
birdi
55c7c27925 add tests for multiple text filter 2019-07-27 13:26:57 +03:00
birdi
07ff9d77d6 Add tests for multiple Text filter 2019-07-24 11:57:17 +03:00
birdi
ab9264e2c9 Add tests which fall because empty string isn't a correct match string 2019-07-23 00:43:14 +03:00
birdi
c982fd54cc Fix contains test 2019-07-18 23:02:03 +03:00
birdi
46e5c7a3d0 Add ignore_case to equals test 2019-07-18 22:57:59 +03:00
birdi
0c9c837652 Add tests for text filter 2019-07-18 20:52:41 +03:00
Gabben
a00b854533 Update test_chat_member.py 2019-06-28 14:46:56 +05:00
Gabben
cbb019283a ChatMember update
Deprecated methods removed

Added new RESTRICTED status

is_chat_member method has been updated: user could be restricted but remain a member.

Added tests for chat_member
2019-06-28 14:35:49 +05:00
Ilya Samartsev
5421982482 update exception matcher and fix tests 2019-06-02 14:39:17 +03:00
Nikita
088116e1c7 Reformat code 2019-03-24 00:15:09 +05:00
Alex Root Junior
843be46d19
Merge pull request #106 from aiogram/bot_from_context_exception
Raise Exception if there's no bot instance in context
2019-03-03 13:38:31 +02:00
Oleg A
4e4bbdfc7e Raise Exception if there's no bot instance in context 2019-02-25 13:23:50 +03:00
Oleg A
3a38125619 Check bot instance on Dispatcher __init__ 2019-02-25 12:34:26 +03:00
Alex Root Junior
69c126e027 Added tests for StatesGroup 2018-06-29 18:52:06 +03:00
Oleg A
69161403ba
Add chat migrate event to dataset 2018-05-22 02:21:44 +03:00
Alex Root Junior
65edaeb2b5 Add tests for token validator and widget util. 2018-05-04 01:19:36 +03:00
Alex Root Junior
d2232d127d Small changes in tests 2018-04-05 23:23:31 +03:00
Oleg Abramov
a1030145c9 Add editMessage and answerCallbackQ tests 2018-04-04 20:09:01 +03:00
Oleg Abramov
e58e084219 Add chat methods tests 2018-04-04 19:33:28 +03:00
Oleg Abramov
bd701c3768 Add exportChatInviteLink test 2018-04-04 18:47:32 +03:00
Oleg Abramov
dd559da6f4 Add promoteChatMember test 2018-04-04 18:17:43 +03:00
Oleg Abramov
3548febeaf Add restrictChatMember test 2018-04-04 18:14:42 +03:00
Oleg Abramov
28484d9352 Add unbanChatMember test 2018-04-04 18:12:21 +03:00
Oleg Abramov
90de8b2d4b Add kickChatMember test 2018-04-04 18:11:03 +03:00
Oleg Abramov
959f41a2f0 Add getFile test 2018-04-04 18:08:18 +03:00
Oleg Abramov
b95e977c12 Add getUserProfilePhotos test 2018-04-04 17:29:53 +03:00
Oleg Abramov
c0e4d480dd Add sendChatAction test 2018-04-04 17:09:20 +03:00
Oleg Abramov
3e77aa2775 Add sendContact test 2018-04-04 17:05:17 +03:00
Oleg Abramov
486978abe4 Add sendVenue test 2018-04-04 16:55:14 +03:00
Oleg Abramov
e3da438d9f Add editLocation and stopLocation test 2018-04-04 16:48:43 +03:00
Oleg Abramov
d1cea90979 Add sendLocation test 2018-04-04 16:31:48 +03:00
Oleg Abramov
21439b8532 Correct test names 2018-04-04 16:03:22 +03:00
Oleg Abramov
b689a084ed Add sendMediaGroup test 2018-04-04 16:00:55 +03:00
Oleg Abramov
6094fd13a3 Fixed test description (with file_id) 2018-04-04 13:51:18 +03:00
Oleg Abramov
5a7d01ae71 Added test sendVideoNote 2018-04-04 13:44:43 +03:00
Oleg Abramov
7af8d2da94 Added test sendVoice 2018-04-04 12:52:47 +03:00
Oleg Abramov
c49d9c35fe Added test sendVideo 2018-04-04 12:48:28 +03:00
Oleg Abramov
0c3ce1cf00 Added tests sendPhoto 2018-04-04 12:42:01 +03:00
Oleg Abramov
24a7788393 Added tests sendAudio, sendDocument. Added parse_mode descriptions to methods with caption 2018-04-04 11:26:43 +03:00
Oleg Abramov
c3e7728866 Pytest part two 2018-04-04 00:38:16 +03:00
Oleg Abramov
4ba810fe25 Test dataset filling 2018-04-03 22:38:46 +03:00
Oleg Abramov
210082691a First pytests 2018-04-03 20:58:22 +03:00
Alex Root Junior
c598a7d82a Update tests (small fixes) 2018-01-27 22:38:22 +02:00
Alex Root Junior
997d5b4181 Move tests of types to test/types/ directory. 2017-12-01 02:36:12 +02:00