Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.42 KB

readme.rst

File metadata and controls

36 lines (27 loc) · 1.42 KB

Documentation Status Version Supported Py License

ptb unittest

a testsuite for Python telegram bot

Note: This is a derivative work of the original ptbtest

This library is for people wanting to write unittests for their python-telegram-bot driven bots. The following things make this library attractive to create unittests

* Mockbot - A fake bot that does not contact telegram servers

* Works with the Updater from telegram.ext

* Generator classes to easily create Users, Chats and Updates objects.

Read the documentation for further reading and check out the examples.