diff options
| author | 2021-03-31 23:14:27 +0100 | |
|---|---|---|
| committer | 2021-03-31 23:14:27 +0100 | |
| commit | 354fdc2f0181feb458e5ca56fc2d3fe81caf5aa8 (patch) | |
| tree | dd50d07918b87f974c28e5347454bdc810e687e9 /tests/helpers.py | |
| parent | Fix cancelling tasks on cog unload (diff) | |
| parent | Merge pull request #1463 from kwzrd/kwzrd/branding (diff) | |
Merge branch 'main' into stream-and-revokestream-commands
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)] |