aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-04-25 18:53:03 +0100
committerGravatar GitHub <[email protected]>2022-04-25 18:53:03 +0100
commit9b92876edcc68ddbe71fb524c3beb7a52b066b54 (patch)
tree64895756541af0fc40e08316bc58c6db721bbce4 /tests
parentMerge pull request #2144 from python-discord/mbaruh/ext_fix (diff)
parentMerge branch 'main' into speedup-syncing (diff)
Merge pull request #2148 from python-discord/speedup-syncing
Speed Up Sync Cog Loading
Diffstat (limited to 'tests')
-rw-r--r--tests/helpers.py2
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)]