Skip to main content

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.

Metadata

Release files for ptb-unittest 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ptb-unittest 1.1.1
File Size Uploaded
ptb_unittest-1.1.1.tar.gz 29.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ptb-unittest 1.1.1
File Interpreter ABI Platform
ptb_unittest-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 68.1 kB

Release files / ptb_unittest-1.1.1.tar.gz

Download URL ptb_unittest-1.1.1.tar.gz
Size 29.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cd0dc776e78a029cf121d5c0718e677350185c7d93708ea7a1f689a9d8fd0394
BLAKE2b-256 checksum
How to use checksums
273704a0ddb1bfa84762e72efdc4262ee9f3131150c34f51b5366e4884025bd0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ptb_unittest-1.1.1-py3-none-any.whl

Download URL ptb_unittest-1.1.1-py3-none-any.whl
Size 38.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11165bc99ca4b551fddba2487ed07c7b8684e84da8bfcbce340bc9dbf635855a
BLAKE2b-256 checksum
How to use checksums
a2ca58d4852b9b048b5f0b415a029364f23b30eafa6d161c85c2e9915a890b6c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page