Skip to main content

A test suite for use with python-telegram-bot

Project description

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.

Project details


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)

Uploaded Source

Built Distribution

ptb_unittest-1.1.1-py3-none-any.whl (38.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page