aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-11-15 01:28:56 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2019-11-15 01:28:56 +0100
commit2c77288eb3ff081e70508094bb8d030900860259 (patch)
tree733f6b6fabf38f0bdb10ecff62ba1cdad3e1f179 /tests/base.py
parentAdd `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