aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2021-01-26 20:16:48 +0200
committerGravatar Boris Muratov <[email protected]>2021-01-26 20:16:48 +0200
commit20121828e707b3053932729bf69de5fdd003bcc1 (patch)
tree47b213e952ed6c32bb82cc5e85f6558785aedb59 /tests/helpers.py
parentAdded cog unloader to cancel notifier (diff)
parentMerge branch 'master' into mbaruh/defcon (diff)
Merge branch 'mbaruh/defcon' of https://github.com/python-discord/bot into mbaruh/defcon
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)]