diff options
| author | 2020-12-29 14:54:46 +0200 | |
|---|---|---|
| committer | 2020-12-29 14:54:46 +0200 | |
| commit | 66ea8a394cb48186bb66e42df4460104c80e87e2 (patch) | |
| tree | f0da7127a865a2a7a5e17a6782318a0acc7689a8 /tests/helpers.py | |
| parent | Log info instead error for watchchannel consume task cancel (diff) | |
| parent | Merge pull request #1328 from python-discord/swfarnsworth/developer_command (diff) | |
Merge branch 'master' into bug-fixes
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)] |