diff options
author | 2022-05-01 23:37:55 +0100 | |
---|---|---|
committer | 2022-05-01 23:37:55 +0100 | |
commit | d3058d5ec5c8ab840a32ea6fb3e3760f4167bd2e (patch) | |
tree | 8ccfbe97745f6313b5a87203f1ce969240557db5 /tests | |
parent | Make modpings rescheduling robust to unfilled cache (diff) | |
parent | Merge pull request #2152 from python-discord/chunnk-guild-if-not-chunked (diff) |
Merge branch 'main' into mbaruh/modpings-cache
Diffstat (limited to 'tests')
-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 a6e4bdd66..5f3111616 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -171,7 +171,7 @@ class MockGuild(CustomMockMixin, unittest.mock.Mock, HashableMixin): spec_set = guild_instance def __init__(self, roles: Optional[Iterable[MockRole]] = None, **kwargs) -> None: - default_kwargs = {'id': next(self.discord_id), 'members': []} + default_kwargs = {'id': next(self.discord_id), 'members': [], "chunked": True} super().__init__(**collections.ChainMap(kwargs, default_kwargs)) self.roles = [MockRole(name="@everyone", position=1, id=0)] |