Commit graph

1020 commits

Author SHA1 Message Date
Bibo-Joshi
2f06902518
Improve Test Instability Caused by Message Fixtures () 2024-10-01 07:16:29 +02:00
Bibo-Joshi
2bc65560eb
Stabilize Some Flaky Tests () 2024-09-25 18:53:26 +02:00
Bibo-Joshi
79e589b39e
Reduce Creation of HTTP Clients in Tests () 2024-09-25 17:17:55 +02:00
Bibo-Joshi
bd3cdbcdbd
Update pytest-xdist Usage () 2024-09-22 19:49:48 +02:00
Bibo-Joshi
9709c03b35
Fix Failing Tests by Making Them Independent () 2024-09-21 18:49:33 +02:00
Bibo-Joshi
2eae2830f3
Maintenance Work on Bot Tests ()
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-09-21 11:34:25 +02:00
Bibo-Joshi
28d19c3b9a
Introduce conftest.py for File Related Tests ()
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-09-21 11:33:52 +02:00
Harshil
67a97ae5a7
API 7.10 (, , , )
Co-authored-by: aelkheir <90580077+aelkheir@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-09-17 18:09:19 +02:00
Bibo-Joshi
ec909e62cf
Enforce the offline_bot Fixture in Test*WithoutRequest () 2024-09-13 19:10:09 +02:00
Bibo-Joshi
1223e851c3
Add Parameter httpx_kwargs to HTTPXRequest () 2024-09-11 22:34:18 +02:00
Bibo-Joshi
0b352b043e
Make Tests for telegram.ext Independent of Networking () 2024-09-09 07:32:32 +02:00
Bibo-Joshi
b9d2efdec5
Rename Testing Base Classes () 2024-09-03 05:24:25 +02:00
Bibo-Joshi
e0f36867cc
Add MessageEntity.shift_entities and MessageEntity.concatenate () 2024-09-01 09:33:12 +02:00
Poolitzer
01f689373c
Bot API 7.9 ()
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-09-01 09:32:42 +02:00
Bibo-Joshi
1e05381133
Update Test Suite to New Test Channel Setup () 2024-08-26 20:16:35 +02:00
Martin Hjelmare
a05362c79a
Remove Surplus Logging from Updater Network Loop () 2024-08-19 16:40:28 +02:00
Palaptin
fbf07bf126
Improve Fixture Usage in test_message.py () 2024-08-19 16:14:01 +02:00
Harshil
8f9db63f4f
Bump ruff and Add New Rules ()
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-08-07 21:56:46 +02:00
Bibo-Joshi
3a49372591
Add Parameter read_file_handle to InputFile () 2024-08-02 22:28:38 +02:00
Bibo-Joshi
6578c76068
API 7.8 () 2024-08-02 13:43:27 +02:00
Pablo Martínez
0913b859d7
Add Internal Constants for Encodings () 2024-07-21 21:13:30 +02:00
Jãїиãм
422993b8ab
Add Parameter game_pattern to CallbackQueryHandler () 2024-07-13 21:26:44 +02:00
Bibo-Joshi
06f1da576e
Stabilize Some Concurrency Usages in Test Suite () 2024-07-10 17:11:22 +02:00
Bibo-Joshi
7a470d57c8
Add a Test Case for MenuButton () 2024-07-10 17:10:33 +02:00
Poolitzer
1714bfd8f6
Deprecate Inclusion of successful_payment in Message.effective_attachment () 2024-07-09 23:33:57 +02:00
Poolitzer
71e4015e22
API 7.7 ()
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-07-09 10:35:18 +02:00
Harshil
52237cf00c
Add filters.PAID_MEDIA () 2024-07-07 22:23:31 +02:00
Harshil
dba7866aab
API 7.6 (, , , , , , , )
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-07-07 13:08:52 +02:00
Bibo-Joshi
98bed6f01a
Log Received Data on Deserialization Errors () 2024-07-06 16:09:04 +02:00
Antares
42d7c8c477
Add MessageEntity.adjust_message_entities_to_utf_16 Utility Function ()
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-07-06 16:08:29 +02:00
Poolitzer
8018e5ff3f
Extend SuccessfulPayment Test () 2024-07-05 23:03:54 +02:00
Harshil
c39839b026
Small Fixes for test_stars.py () 2024-07-05 18:44:41 +02:00
Harshil
4213c12c5b
Use Python 3.13 Beta 3 in Test Suite ()
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2024-07-03 19:04:45 +02:00
Harshil
146ec54a00
API 7.5 (, , , , )
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-07-01 21:45:37 +02:00
Bibo-Joshi
4ccc80f9c1
Make Argument bot of TelegramObject.de_json Optional () 2024-07-01 19:59:54 +02:00
Harshil
cfc75bb08b
Bump ruff and Add New Rules () 2024-06-30 18:22:12 +02:00
Harshil
9ce0f49882
Add Support for Python 3.13 Beta ()
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-06-18 22:25:02 +02:00
Bibo-Joshi
44e8292838
Drop python-telegram-bot-raw And Switch to pyproject.toml Based Packaging () 2024-06-15 10:29:19 +02:00
Trijeet Modak
9e70ac8b7a
Add Parameter chat_id to ChatMemberHandler () 2024-06-06 17:31:45 +02:00
Harshil
cf728496e4
API 7.4 (, , , , , , )
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2024-06-03 19:39:31 +02:00
Harshil
c1c5438f37
Remove Functionality Deprecated in Bot API 7.3 () 2024-05-29 19:59:23 +02:00
Harshil
512a0b7417
Add Version to PTBDeprecationWarning () 2024-05-20 16:12:34 +02:00
Bibo-Joshi
b496fabf62
Call Application.post_stop Only if Application.stop was called () 2024-05-20 15:52:30 +02:00
Bibo-Joshi
637b8e260b
Handle SystemExit raised in Handlers () 2024-05-20 15:27:08 +02:00
Bibo-Joshi
912fe45d8c
Handle Exceptions in building CallbackContext () 2024-05-20 15:25:56 +02:00
Bibo-Joshi
805b7bff32
API 7.3 (, , , , , )
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Abdelrahman Elkheir <90580077+aelkheir@users.noreply.github.com>
2024-05-20 15:25:25 +02:00
Bibo-Joshi
c4623c4476
Make Birthdate.to_date Return a datetime.date Object ()
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2024-05-10 22:23:19 +02:00
Bibo-Joshi
ee6e82d7ad
Remove Functionality Deprecated by Bot API 7.2 () 2024-05-10 17:42:22 +02:00
Bibo-Joshi
622fdf7fa3
Adapt Test Suite to Changes in Error Messages () 2024-05-06 22:35:11 +02:00
dependabot[bot]
a956dcc6a4
Bump pytest from 7.4.4 to 8.1.1 ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2024-04-28 22:32:20 +02:00