aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-01-20 20:21:04 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-01-20 20:21:04 +0300
commit41e861c52c5e8c3f5fb751345661d8f062976d87 (patch)
tree3837c8a7bc377aff4b7b6973d810856e57fd414b /tests/helpers.py
parentCleans Up Tests (diff)
parentReplace in_whitelist check with commands.has_any_role check (diff)
Merge branch 'master' into fix-voiceban-member-bug
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)]