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.3

  • Docs: Add vertical spacing for functions & methods
  • Fix behaviour 'discord.Role.edit' with hoist, mentionable, etc.

0.5.2

  • Get member mentions by using the user ID in mention

0.5.1

  • NEW methods : Pins, get_user, & clear_reactions
  • fix utils functions imports

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.

Files for dpytest, version 0.5.3
Filename, size File type Python version Upload date Hashes
Filename, size dpytest-0.5.3-py3-none-any.whl (26.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dpytest-0.5.3.tar.gz (24.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page