| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2019-10-14 | Move the `token_remover` cog tests to `unittest`. | -0/+139 | ||
| 2019-10-14 | Add more specialized Mocks to tests.helpers | -181/+383 | ||
| 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. | ||||