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.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

ptb_unittest-1.1-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file ptb_unittest-1.1.tar.gz.

File metadata

  • Download URL: ptb_unittest-1.1.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.2

File hashes

Hashes for ptb_unittest-1.1.tar.gz
Algorithm Hash digest
SHA256 6786c8eb19a7d4789db91006d71a5525b5698a6cb924fc99c3ee2347de29977f
MD5 f700cbd4aea7ae340b52d98de5c5dfbd
BLAKE2b-256 958de423ffbf8f6136c01122e855fadab204463ba926907479b7345dbfaa1641

See more details on using hashes here.

File details

Details for the file ptb_unittest-1.1-py3-none-any.whl.

File metadata

  • Download URL: ptb_unittest-1.1-py3-none-any.whl
  • Upload date:
  • Size: 38.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.2

File hashes

Hashes for ptb_unittest-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a583422f1e8475d07582a322ed65f40134386e75c125f7c0ded1a56caca4347
MD5 106cf3274b3759e6d36e79953bf37396
BLAKE2b-256 8fe516b2295a3c623e5dc4f97ddd4c61e994a3b5b5a8aea0b59a35d3fc02331e

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