aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Karlis S <[email protected]>2021-01-03 07:57:49 +0000
committerGravatar Karlis S <[email protected]>2021-01-03 07:57:49 +0000
commit3f52698dbf9bd8277b8ec5c0c25c1d56bd159a8e (patch)
tree34cb166f6b98562443a79d42f987989293ec5da2 /tests/helpers.py
parentRe-lock Pipfile (diff)
parentMerge pull request #1334 from python-discord/bug/precommit-pycharm (diff)
Merge branch 'master' into branding-manager
Diffstat (limited to '')
-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)]