diff options
| author | 2020-12-20 14:32:49 -0500 | |
|---|---|---|
| committer | 2020-12-20 14:32:49 -0500 | |
| commit | 2b73df65fdd6fd2256d8a3f95b5181b6e10141bc (patch) | |
| tree | 6e75bd1c0a5c8f0e810d63e75e11b3703095aad6 /tests/helpers.py | |
| parent | Responses from the bot mention the user. (diff) | |
| parent | Add the clear alias to the clean command (diff) | |
Merge branch 'master' of https://github.com/python-discord/bot into swfarnsworth/developer_command
Diffstat (limited to 'tests/helpers.py')
| -rw-r--r-- | tests/helpers.py | 2 |
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)] |