diff options
author | 2019-11-15 01:37:02 +0100 | |
---|---|---|
committer | 2019-11-15 01:37:02 +0100 | |
commit | b42a7b5b7f2c1c9f9924eeb9d39f7767306824ec (patch) | |
tree | 96b6ce82605401a590b3def2a5a3c66723291896 /tests/base.py | |
parent | Adjust MockReaction for new AsyncIteratorMock protocol (diff) |
Add MockAsyncWebhook to mock `discord.Webhook` objects
I have added a mock type to mock `discord.Webhook` instances. Note
that the current type is specifically meant to mock webhooks that
use an AsyncAdaptor and therefore has AsyncMock/coroutine mocks for
the "maybe-coroutine" methods specified in the `discord.py` docs.
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions