diff options
| author | 2021-01-19 08:56:07 -0800 | |
|---|---|---|
| committer | 2021-01-19 08:56:07 -0800 | |
| commit | e3dc8b77fe69d9aca27cc3dfe746f14b461ea53a (patch) | |
| tree | 9ba5381369d44499324f3acba81c0f7291521725 /tests/helpers.py | |
| parent | Move not allowed to run message to constant and match comment with code (diff) | |
| parent | Merge pull request #1368 from python-discord/mbaruh/filters (diff) | |
Merge branch 'master' into help-disabled-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)] |