Skip to main content

A testsuit for use with python-telegram-bot

Project description

Build Status Documentation Status Coverage Status PyPI PyPI PyPI

ptbtest

a testsuite for Python telegram bot

This library is meant 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

  • Generatorclasses to easily create Users, Chats and Updates.

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

Project details


Release history Release notifications | RSS feed

This version

1.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ptbtest-1.3.zip (26.0 kB view hashes)

Uploaded Source

Built Distribution

ptbtest-1.3-py2.py3-none-any.whl (25.7 kB view hashes)

Uploaded Python 2 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