aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils/test_time.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-10-14 22:13:22 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2019-10-14 22:13:22 +0200
commite4e01cd5388da19435637353e711c2feab5a0e59 (patch)
tree7284fdb417e8b1e42ea55a9d8d48c20f933dc9c3 /tests/utils/test_time.py
parentRemove empty tests.cogs folder (diff)
Add more specialized Mocks to tests.helpers
This commit introduces some new Mock-types to the already existing Mock-types for discord.py objects. The total list is now: - MockGuild - MockRole - MockMember - MockBot - MockContext - MockTextChannel - MockMessage In addition, I've added all coroutines in the documentation for these discord.py objects as `AsyncMock` attributes to ease testing. Tests ensure that the attributes set for the Mocks exist for the actual discord.py objects as well.
Diffstat (limited to 'tests/utils/test_time.py')
0 files changed, 0 insertions, 0 deletions