Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

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.

Files for ptbtest, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size ptbtest-1.3-py2.py3-none-any.whl (25.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size ptbtest-1.3.zip (26.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page