aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-04-27 11:04:02 +0100
committerGravatar GitHub <[email protected]>2021-04-27 11:04:02 +0100
commit4a5980c71318eb0a0db1f431ab53a2e763d7ecd7 (patch)
treeb50da96c6c01f9d21fceac7e5f67455ea209a7b6 /tests/helpers.py
parentMerge two comments into one (diff)
parentMerge pull request #1426 from python-discord/feat/1365/add-bot-badges-to-user (diff)
Merge branch 'main' into master
Diffstat (limited to 'tests/helpers.py')
-rw-r--r--tests/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 870f66197..496363ae3 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -230,7 +230,7 @@ class MockMember(CustomMockMixin, unittest.mock.Mock, ColourMixin, HashableMixin
spec_set = member_instance
def __init__(self, roles: Optional[Iterable[MockRole]] = None, **kwargs) -> None:
- default_kwargs = {'name': 'member', 'id': next(self.discord_id), 'bot': False}
+ default_kwargs = {'name': 'member', 'id': next(self.discord_id), 'bot': False, "pending": False}
super().__init__(**collections.ChainMap(kwargs, default_kwargs))
self.roles = [MockRole(name="@everyone", position=1, id=0)]