Skip to main content

A package that assists in writing tests for discord.py

Project description

dpytest

Build Status Documentation Status Discord Server

This is a package to allow testing of discord.py. It is only compatible with the rewrite version, and is still in alpha. If using pytest, it is suggested to use pytest-asyncio for test running, otherwise the user will need to provide their own async test runner.

Documentation

Documentation can be found at dpytest.readthedocs.io, including examples and tutorials

History

0.5.0

  • Remove the runner verification methods, replace them with verification builders

0.4.0

  • Rename simulate_reaction -> add_reaction and make it take a user to react as

0.3.0

  • unrealease (error when bumping version)

0.2.0

  • Merge hint files into .py files
  • Use typing export of Pattern

0.1.1

  • Add content type to attachments
  • Overwrite _guild_needs_chunking (fix for asyncio wait_for errors)

0.1.0

  • Bump version (sould have done that with 0.0.23, since many changes have been commited)
  • Bug fix with role_mentions=None being not iterable.

0.0.23

  • Support for discord.py 1.7.1
  • Attachments allowed on messages
  • verify_embed without test fixed
  • Add members intent
  • Added more testing

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

dpytest-0.5.0.tar.gz (23.9 kB view hashes)

Uploaded Source

Built Distribution

dpytest-0.5.0-py3-none-any.whl (25.8 kB view hashes)

Uploaded 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