index
:
bot
dependabot/github_actions/astral-sh/setup-uv-7
dependabot/pip/pip-5e502e9552
dependabot/uv/regex-2025.9.18
fix-eval-message-limit
fix/modpings
inject-settings-in-bot-core
main
mbaruh/fix-modpings-schedule
mbaruh/modlog_fix
pastebin-auto-upload
wookie/lower-warning-to-info
wookie184/fix-mentions-reply-resolving
A mirrored copy of the python-discord/bot repository.
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
tests
/
helpers.py
(
follow
)
Commit message (
Expand
)
Author
Age
Lines
*
Use autospecced mocks in MockBot for the stats and aiohttp session
MarkKoz
2020-05-22
-0
/
+4
*
Properly mock the redis pool in MockBot
MarkKoz
2020-05-22
-0
/
+16
*
Fix unawaited coro warning when instantiating Bot for MockBot's spec
MarkKoz
2020-05-22
-10
/
+14
*
Add mock for discord.DMChannels
Sebastiaan Zeeff
2020-04-27
-0
/
+21
*
Remove vestigial kwargs from MockTextChannel.__init__
Sebastiaan Zeeff
2020-04-23
-1
/
+1
*
Migrate syncers test suite to Python 3.8
Sebastiaan Zeeff
2020-02-24
-3
/
+1
*
Merge branch 'master' into python38-migration
Sebastiaan Zeeff
2020-02-24
-6
/
+29
|
\
|
*
Tests: fix unawaited error for MockAPIClient
MarkKoz
2020-02-12
-5
/
+1
|
*
Tests: use objects for colour and permissions of MockRole
MarkKoz
2020-02-12
-1
/
+13
|
*
Tests: add a return value for MockReaction.__str__
MarkKoz
2020-02-12
-0
/
+1
|
*
Tests: add a MockAPIClient
MarkKoz
2020-02-12
-0
/
+18
*
|
Use unittest's AsyncMock instead of our AsyncMock
Sebastiaan Zeeff
2020-02-23
-128
/
+62
*
|
Use IsolatedAsyncioTestCase instead of async_test
Sebastiaan Zeeff
2020-02-23
-17
/
+0
|
/
*
Change all Bot imports to use the subclass
MarkKoz
2019-12-07
-1
/
+3
*
Add MockAsyncWebhook to mock `discord.Webhook` objects
Sebastiaan Zeeff
2019-11-15
-0
/
+21
*
Adjust MockReaction for new AsyncIteratorMock protocol
Sebastiaan Zeeff
2019-11-15
-3
/
+1
*
Add MockUser to mock `discord.User` objects
Sebastiaan Zeeff
2019-11-15
-0
/
+19
*
Add `return_value` support and assertions to AsyncIteratorMock
Sebastiaan Zeeff
2019-11-15
-4
/
+54
*
Add MockAttachment type and attachments default for MockMessage
Sebastiaan Zeeff
2019-11-14
-1
/
+16
*
Add bot=False default value to MockMember
Sebastiaan Zeeff
2019-11-14
-1
/
+1
*
Merging in master
Leon Sandøy
2019-11-13
-60
/
+55
|
\
|
*
Prevent await warnings for MockBot's create_task
Sebastiaan Zeeff
2019-11-13
-1
/
+7
|
*
Prevent setting unknown attributes on d.py mocks
Sebastiaan Zeeff
2019-11-13
-58
/
+36
|
*
Allow `name` attribute to be set during Mock init
Sebastiaan Zeeff
2019-11-13
-0
/
+3
|
*
Prevent unwanted logging while running tests
Sebastiaan Zeeff
2019-11-13
-0
/
+11
*
|
Adding ducky count tests and a new AsyncIteratorMock
Leon Sandøy
2019-11-11
-1
/
+37
|
/
*
Update docstring and remove redundant attribute
Sebastiaan Zeeff
2019-10-30
-4
/
+9
*
Enhance custom mock helpers
Sebastiaan Zeeff
2019-10-30
-157
/
+96
*
Change generation of child mocks
Sebastiaan Zeeff
2019-10-28
-33
/
+52
*
Make test_token_remover use our discord Mocks
Sebastiaan Zeeff
2019-10-14
-0
/
+1
*
Add more specialized Mocks to tests.helpers
Sebastiaan Zeeff
2019-10-14
-2
/
+177
*
Change pipeline testrunner to xmlrunner
Sebastiaan Zeeff
2019-10-11
-8
/
+6
*
Migrate pytest to unittest
Sebastiaan Zeeff
2019-10-11
-11
/
+236
*
Recombine import groups.
scragly
2019-09-18
-1
/
+0
*
Add basic tests for `bot.api`.
Johannes Christ
2019-09-18
-1
/
+21
*
Add tests for `bot.cogs.token_remover`.
Johannes Christ
2019-09-15
-0
/
+10