chore(docs): move changelog fragment to CHANGES/1727.doc.rst

This commit is contained in:
Vlad 2025-10-04 10:54:41 +05:00
parent 09ecf1c3cb
commit 0e6decac6a
2 changed files with 9 additions and 1 deletions

9
CHANGES/1727.doc.rst Normal file
View file

@ -0,0 +1,9 @@
Docs: add guide "Testing your bot" (pytest examples)
Add a new documentation page that shows how to test bot handlers with pytest
without sending real requests to the Telegram API. The guide includes:
- an echo handler example
- a callback query example
Both examples use dummy objects (Message / CallbackQuery) so developers can
test logic in isolation.

View file

@ -1 +0,0 @@
Added a new guide on testing bots with pytest examples.