aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (follow)
Commit message (Expand)AuthorAgeLines
* Pass the now required intents kwarg when creating MockBotGravatar Chris Lovering2022-04-19-0/+1
* Update test helpers with breaking d.py changesGravatar Chris Lovering2022-04-18-0/+4
* Adding missing kwargs required by BotBase in test helperGravatar Chris Lovering2022-04-18-0/+3
* Remove async stats and site api wrapperGravatar Chris Lovering2022-04-18-2/+2
* Revert "Update all references of discord.py to disnake"Gravatar Chris Lovering2022-03-15-62/+62
* Update all references of discord.py to disnakeGravatar Chris Lovering2022-03-05-62/+62
* Merge branch 'main' into discord-2.0Gravatar Matteo Bertucci2021-10-10-1/+6
|\
| * Merge branch 'main' into ignore-infra-mods-errorsGravatar Joe Banks2021-10-05-1/+4
| |\
| | * Use scheduling create_task util instead of creating from loop directlyGravatar Numerlor2021-09-11-1/+4
| * | Fix testsGravatar Izan2021-09-01-0/+2
| |/
* / Migrate to Discord.py 2.0a0Gravatar Matteo Bertucci2021-09-06-4/+23
|/
* Merge branch 'main' into voicechannel-muteGravatar Xithrius2021-07-08-0/+22
|\
| * chore: Update tests for the new codejam create commandGravatar ToxicKidz2021-07-05-0/+22
* | Merge branch 'main' into voicechannel-muteGravatar Hassan Abouelela2021-05-04-0/+2
|\|
| * Merge branch 'master' into error-handler-testGravatar ks1292021-02-19-1/+1
| |\
| * \ Merge branch 'master' into error-handler-testGravatar ks1292020-11-21-19/+2
| |\ \
| * \ \ Merge remote-tracking branch 'upstream/master' into error-handler-testGravatar ks1292020-09-27-12/+46
| |\ \ \
| * | | | Test Helpers: Added new attribute to `MockContext`Gravatar ks1292020-05-18-0/+2
* | | | | Merge branch 'master' into voicechannel-muteGravatar Hassan Abouelela2020-12-22-1/+1
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Fix pending testsGravatar Joe Banks2020-12-19-1/+1
| | |_|/ | |/| |
* / | | General Silence Class TestsGravatar Hassan Abouelela2020-11-23-3/+22
|/ / /
* | | Merge master, fix conflicts, and create redis session in silence testsGravatar MarkKoz2020-10-09-1/+5
|\ \ \ | | |/ | |/|
| * | Use async-rediscache package for our redis cachesGravatar Sebastiaan Zeeff2020-09-19-1/+5
* | | Tests: optionally prevent autospec helper from passing mocksGravatar MarkKoz2020-08-17-19/+2
|/ /
* | Merge remote-tracking branch 'origin/master' into bug/filters/928/non-ascii-t...Gravatar MarkKoz2020-06-02-11/+23
|\ \
| * \ Merge branch 'master' into ban-kick-reason-lengthGravatar Mark2020-05-30-11/+19
| |\ \
| | * | MockBot needs to be aware of redis_readyGravatar Leon Sandøy2020-05-24-1/+1
| | * | Remove redis session mock from MockBotGravatar MarkKoz2020-05-23-16/+0
| | * | Finish .set and .get, and add tests.Gravatar Leon Sandøy2020-05-23-1/+1
| | * | Use autospecced mocks in MockBot for the stats and aiohttp sessionGravatar MarkKoz2020-05-22-0/+4
| | * | Properly mock the redis pool in MockBotGravatar MarkKoz2020-05-22-0/+16
| | * | Fix unawaited coro warning when instantiating Bot for MockBot's specGravatar MarkKoz2020-05-22-10/+14
| | |/
| * | Merge branch 'master' into ban-kick-reason-lengthGravatar ks1292020-05-20-1/+22
| |\|
| * | (Test Helpers): Added `__ge__` function to `MockRole` for comparing.Gravatar ks1292020-04-15-0/+4
* | | Correct the return type annotation for the autospec decoratorGravatar MarkKoz2020-05-11-2/+2
* | | Fix autospec decorator when used with multiple attributesGravatar MarkKoz2020-05-11-16/+12
* | | Allow using arbitrary parameter names with the autospec decoratorGravatar MarkKoz2020-05-11-2/+15
* | | Add a test helper function to patch multiple attributes with autospecsGravatar MarkKoz2020-05-11-0/+9
| |/ |/|
* | Add mock for discord.DMChannelsGravatar Sebastiaan Zeeff2020-04-27-0/+21
* | Remove vestigial kwargs from MockTextChannel.__init__Gravatar Sebastiaan Zeeff2020-04-23-1/+1
|/
* Migrate syncers test suite to Python 3.8Gravatar Sebastiaan Zeeff2020-02-24-3/+1
* Merge branch 'master' into python38-migrationGravatar Sebastiaan Zeeff2020-02-24-6/+29
|\
| * Tests: fix unawaited error for MockAPIClientGravatar MarkKoz2020-02-12-5/+1
| * Tests: use objects for colour and permissions of MockRoleGravatar MarkKoz2020-02-12-1/+13
| * Tests: add a return value for MockReaction.__str__Gravatar MarkKoz2020-02-12-0/+1
| * Tests: add a MockAPIClientGravatar MarkKoz2020-02-12-0/+18
* | Use unittest's AsyncMock instead of our AsyncMockGravatar Sebastiaan Zeeff2020-02-23-128/+62
* | Use IsolatedAsyncioTestCase instead of async_testGravatar Sebastiaan Zeeff2020-02-23-17/+0
|/
* 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