aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2021-01-15 13:44:45 +0800
committerGravatar kosayoda <[email protected]>2021-01-15 13:44:45 +0800
commit292885a84a380f6e5392a6a0b9bfd75de37e0bcc (patch)
tree0f40af90e7a1d4d1ebde1b80f7da41def9eb6317 /tests/helpers.py
parentUpdate !server with discord 1.5 presence changes. (diff)
parentUpdate discord.py to the 1.6 release (diff)
Merge branch 'master' into feat/info/server-cmd-enhancements
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)]