aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-05-22 16:23:12 -0700
committerGravatar MarkKoz <[email protected]>2020-05-22 16:23:12 -0700
commit1ad7833d800918efca06e5d6b2fbafdb0d757009 (patch)
treee93bd6d96b076bc38a15ee94656df9770895337a /tests/base.py
parentFix unawaited coro warning when instantiating Bot for MockBot's spec (diff)
Properly mock the redis pool in MockBot
Because some of the redis pool/connection methods return futures rather than being coroutines, the redis pool had to be mocked using the CustomMockMixin so it could take advantage of `additional_spec_asyncs` to use AsyncMocks for these future-returning methods.
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions