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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file ptbtest-1.3.zip.

File metadata

  • Download URL: ptbtest-1.3.zip
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ptbtest-1.3.zip
Algorithm Hash digest
SHA256 846f8dda18d8a8ce96e3399b7cef498f54f3794bf904dc7c2e17bb2386cdc571
MD5 358295d35016c5dc4d5ef59cdb59d640
BLAKE2b-256 2ad5f39d3f9d5554f42955f8f90d8fd68f0b39cb55b9262f12510355d345d949

See more details on using hashes here.

File details

Details for the file ptbtest-1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ptbtest-1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2efbe77a4ccaca50df3f94a78978d1faafbd710be672f330bb9266976796cf93
MD5 ccfa12fc96ab7e4c2d8ba7f803190b83
BLAKE2b-256 ee4be24d9ab3985ba646584621e604cc4a1fd6d5cc2a3d9b1f1501e2c31816d0

See more details on using hashes here.

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