aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2020-12-22 09:45:43 +0300
committerGravatar Hassan Abouelela <[email protected]>2020-12-22 09:55:20 +0300
commitb6c966608d57a28a5fbbecc7b833955ecc47b998 (patch)
tree636d11dbd2852eac1e7bb8bc452e154f050616fe /tests/helpers.py
parentFixes Voice Silence Tests (diff)
parentMerge pull request #1332 from python-discord/ks123/sentry (diff)
Merge branch 'master' into voicechannel-mute
Signed-off-by: Hassan Abouelela<[email protected]> # Conflicts # bot/exts/moderation/silence.py # bot/exts/moderation/test_silence.py
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 5628ca31f..529664e67 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -229,7 +229,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)]