aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (follow)
Commit message (Expand)AuthorAgeLines
* Change all Bot imports to use the subclassGravatar MarkKoz2019-12-07-1/+3
* Add MockAsyncWebhook to mock `discord.Webhook` objectsGravatar Sebastiaan Zeeff2019-11-15-0/+21
* Adjust MockReaction for new AsyncIteratorMock protocolGravatar Sebastiaan Zeeff2019-11-15-3/+1
* Add MockUser to mock `discord.User` objectsGravatar Sebastiaan Zeeff2019-11-15-0/+19
* Add `return_value` support and assertions to AsyncIteratorMockGravatar Sebastiaan Zeeff2019-11-15-4/+54
* Add MockAttachment type and attachments default for MockMessageGravatar Sebastiaan Zeeff2019-11-14-1/+16
* Add bot=False default value to MockMemberGravatar Sebastiaan Zeeff2019-11-14-1/+1
* Merging in masterGravatar Leon Sandøy2019-11-13-60/+55
|\
| * Prevent await warnings for MockBot's create_taskGravatar Sebastiaan Zeeff2019-11-13-1/+7
| * Prevent setting unknown attributes on d.py mocksGravatar Sebastiaan Zeeff2019-11-13-58/+36
| * Allow `name` attribute to be set during Mock initGravatar Sebastiaan Zeeff2019-11-13-0/+3
| * Prevent unwanted logging while running testsGravatar Sebastiaan Zeeff2019-11-13-0/+11
* | Adding ducky count tests and a new AsyncIteratorMockGravatar Leon Sandøy2019-11-11-1/+37
|/
* Update docstring and remove redundant attributeGravatar Sebastiaan Zeeff2019-10-30-4/+9
* Enhance custom mock helpersGravatar Sebastiaan Zeeff2019-10-30-157/+96
* Change generation of child mocksGravatar Sebastiaan Zeeff2019-10-28-33/+52
* Make test_token_remover use our discord MocksGravatar Sebastiaan Zeeff2019-10-14-0/+1
* Add more specialized Mocks to tests.helpersGravatar Sebastiaan Zeeff2019-10-14-2/+177
* Change pipeline testrunner to xmlrunnerGravatar Sebastiaan Zeeff2019-10-11-8/+6
* Migrate pytest to unittestGravatar Sebastiaan Zeeff2019-10-11-11/+236
* Recombine import groups.Gravatar scragly2019-09-18-1/+0
* Add basic tests for `bot.api`.Gravatar Johannes Christ2019-09-18-1/+21
* Add tests for `bot.cogs.token_remover`.Gravatar Johannes Christ2019-09-15-0/+10