aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-05-23 10:27:32 -0700
committerGravatar MarkKoz <[email protected]>2020-05-23 10:27:32 -0700
commita52a13020f3468c671cb549052a9c8e303ae9d8c (patch)
treeef371c080a7afebd7aa947d736cc9ad2f3204927 /tests/base.py
parentDRY approach to typestring prefix resolution (diff)
Remove redis session mock from MockBot
It's not feasible to mock it because all the commands return futures rather than being coroutines, so they cannot automatically be turned into AsyncMocks. Furthermore, no code should ever use the redis session directly besides RedisCache. Since the tests for RedisCache already use fakeredis, there's no use in trying to mock redis in MockBot.
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions