diff options
author | 2020-05-23 10:27:32 -0700 | |
---|---|---|
committer | 2020-05-23 10:27:32 -0700 | |
commit | a52a13020f3468c671cb549052a9c8e303ae9d8c (patch) | |
tree | ef371c080a7afebd7aa947d736cc9ad2f3204927 /tests/base.py | |
parent | DRY 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