A test suite for use with python-telegram-bot
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ptb_unittest-1.1.1.tar.gz
(29.3 kB
view hashes)
Built Distribution
Close
Hashes for ptb_unittest-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11165bc99ca4b551fddba2487ed07c7b8684e84da8bfcbce340bc9dbf635855a |
|
MD5 | 03adb482894e90a359f3560abb22cd25 |
|
BLAKE2b-256 | a2ca58d4852b9b048b5f0b415a029364f23b30eafa6d161c85c2e9915a890b6c |