diff options
author | 2020-05-24 13:49:20 +0200 | |
---|---|---|
committer | 2020-05-24 13:49:20 +0200 | |
commit | c5e6e8f796265ee6faebdd3d02c839972cd028a9 (patch) | |
tree | 58af6de2764890924c73032578ad64b365ca7904 /tests/helpers.py | |
parent | Add logging to the RedisCache. (diff) |
MockBot needs to be aware of redis_ready
Forgot to update the additional_spec_asyncs when changing the name of
this Bot attribute to be public.
Diffstat (limited to 'tests/helpers.py')
-rw-r--r-- | tests/helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py index 5ad826156..13283339b 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -287,7 +287,7 @@ class MockBot(CustomMockMixin, unittest.mock.MagicMock): For more information, see the `MockGuild` docstring. """ spec_set = Bot(command_prefix=unittest.mock.MagicMock(), loop=_get_mock_loop()) - additional_spec_asyncs = ("wait_for", "_redis_ready") + additional_spec_asyncs = ("wait_for", "redis_ready") def __init__(self, **kwargs) -> None: super().__init__(**kwargs) |