diff options
author | 2019-11-15 01:28:56 +0100 | |
---|---|---|
committer | 2019-11-15 01:28:56 +0100 | |
commit | 2c77288eb3ff081e70508094bb8d030900860259 (patch) | |
tree | 733f6b6fabf38f0bdb10ecff62ba1cdad3e1f179 /tests/base.py | |
parent | Add `return_value` support and assertions to AsyncIteratorMock (diff) |
Add MockUser to mock `discord.User` objects
I have added a special mock that follows the specifications of a
`discord.User` instance. This is useful, since `Users` have less
attributes available than `discord.Members`. Since this difference
in availability of information can be important, we should not use
a `MockMember` to mock a `discord.user`.
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions