Martin Winks
a529619d79
hotfix(updates): CHOSEN_INLINE_RESULT is a correct API-term ( #415 )
...
* hotfix(updates): CHOSEN_INLINE_RESULT is a correct API-term
* feat(utils): deprecated descriptor
deprecate CHOSEN_INLINE_QUERY and always return CHOSEN_INLINE_RESULT instead of incorrect value
* fix(tests): remove example from test
* fix(utils): use stacklevel=3
level on which descriptor is being called
2020-09-10 22:34:20 +03:00
unintended
17eb8a56d0
Fix #413 parse entities positioning ( #414 )
...
* fix entity positioning in parse_entities() #413
* add tests and small fixes
2020-09-04 18:08:15 +03:00
Martin Winks
00cff4acf5
fix(handlerObj): fix parameter-spec solving ( #408 )
2020-08-22 00:07:03 +03:00
Egor
f904292751
fix: bug IDFilter checking message from channel ( #376 )
...
* fix: bug IDFilter checking message from channel
* chore: add mark.asyncio for tests which were ignored previously
2020-07-05 03:08:38 +03:00
Egor
5586e5110d
fix: remove aiomongo completely ( #380 )
2020-07-05 03:00:00 +03:00
Egor
d179789ea7
feat: mongo motor ( #368 )
...
* initial commit
* replacement by motor
* Delete settings.json
* fix: split to several files
* feat: add test for deleted file
Co-authored-by: morz <morzik45@gmail.com>
Co-authored-by: morzik45 <46727779+morzik45@users.noreply.github.com>
2020-06-29 21:56:35 +03:00
unintended
f9c367548f
Fix markdown escaping issues ( #363 )
...
* #360 - Fix: escape '=' sign in markdown
* fix more escaping issues
* Rename test suite
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2020-06-27 16:17:38 +03:00
Denis Belavin
1389ca5874
#320 - Fix: Class InputMediaAudio contains some fields from other class. ( #354 )
...
Co-authored-by: Belavin Denis <belavin.d.andreevich@yandex.ru>
2020-06-10 23:08:44 +03:00
Egor
a8dfe86358
feat: ForwardedMessage filter ( #355 )
...
* feat: ForwardedMessage filter
* fix: add tests
* fix: attr name
2020-06-10 23:07:55 +03:00
Egor
70767111c4
fix: add support init fields from parent object in KeyboardButton ( #344 )
...
* fix: add support init fields from parent object in KeyboardButton
* fix: add tests
2020-05-31 17:49:33 +03:00
Alex Root Junior
cb0a898487
Merge pull request #319 from Senpos/fix-idfilter-aiogram-v2
...
Fix behavior when a single string is passed as ID
2020-05-24 21:08:04 +03:00
Senpos
6b1c7d3b36
Add tests for extract_chat_ids
2020-05-17 17:17:41 +03:00
mpa
6508235d16
fix(BaseBot): remove __del__ method from BaseBot
...
implement "lazy" session property getter and new get_new_session for BaseBot
2020-05-10 01:13:00 +04:00
Oleg A
cd75d3c468
#296 Added test for getting bot's user_id
2020-04-07 09:43:11 +03:00
Oleg A
6cc769ce4f
#289 Added setStickerSetThumb test
2020-04-05 19:13:33 +03:00
Oleg A
29d767bd78
#289 added getMyCommands test
2020-04-05 17:26:53 +03:00
Oleg A
505d6bf75b
normalized FakeTelegram passed data
2020-04-05 17:26:18 +03:00
Oleg A
a5f9373381
refactored message_dict to message_data in FakeTelegram
2020-04-05 17:02:43 +03:00
Oleg A
38a2309c32
#289 added setMyCommands test
2020-04-05 16:48:34 +03:00
Oleg A
0f245bbf56
#289 added sendDice test and dataset
2020-04-05 16:14:26 +03:00
Oleg A
13462abe47
test_bot minor refactoring
2020-04-05 15:52:01 +03:00
Bachynin Ivan
5a9a4c888e
add simple tests for RedisStorage2
2020-02-12 20:28:45 +02:00
Alex Root Junior
a8ec717d32
Fix tests
2020-01-05 20:22:16 +02:00
Alex Root Junior
528e27b86e
Merge pull request #241 from aiogram/#238-deeplinking
...
#238 Deep linking feature
2019-12-03 17:25:19 +02:00
Oleg A
5489e4cc18
#238 Added /start Pattern test cases
2019-11-30 00:21:38 +03:00
Oleg A
c23c7a2025
#238 Improved deep_link test cases
2019-11-30 00:19:08 +03:00
Oleg A
746eead0da
#238 Fixed deep_link = None case
2019-11-29 23:46:38 +03:00
Oleg A
41191721f6
#238 Added CommandStart filter tests
2019-11-29 23:25:46 +03:00
Oleg A
1305a06b24
#238 Removed prints and fixed example
2019-11-24 01:08:06 +03:00
Oleg A
a42252b5c6
#238 Added deep linking feature
2019-11-24 00:40:11 +03:00
Oleg A
4523a1cab3
#239 added token type validation
2019-11-23 12:45:47 +03:00
Oleg A
89b0754b33
#239 added test cases for check_token
2019-11-23 12:02:30 +03:00
Suren Khorenyan
68a9df9222
Create OrderedHelper
2019-10-09 20:03:48 +03:00
Alex Root Junior
19fc1b8d80
Bump deprecated util and fix warning from tests related with new permissions object.
2019-08-16 22:57:13 +03:00
Suren Khorenyan
7863f052d9
Refactor aiogram/utils/auth_widget.py
...
+ fix check auth widget token in BaseBot, fix tests
2019-08-16 22:36:11 +03:00
Suren Khorenyan
277eb8b701
Refactor TextFilter and its tests
2019-08-11 23:35:59 +03:00
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