diff options
| author | 2020-03-17 17:16:31 +0100 | |
|---|---|---|
| committer | 2020-03-17 17:16:31 +0100 | |
| commit | d456e40ac97a38ee99561546bcafb6aa94117cb7 (patch) | |
| tree | 7591c9b5e4fd19a0c2c651cad6eb746c5fd75f5d /tests/bot | |
| parent | Remove one indentation level. (diff) | |
Remove `alert_channel` mention from docstring.
After removing the optional channel arg and
 changing output message channels we're only testing `ctx`'s `send`.
Diffstat (limited to 'tests/bot')
| -rw-r--r-- | tests/bot/cogs/moderation/test_silence.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/moderation/test_silence.py b/tests/bot/cogs/moderation/test_silence.py index 8b9e30cfe..b4a34bbc7 100644 --- a/tests/bot/cogs/moderation/test_silence.py +++ b/tests/bot/cogs/moderation/test_silence.py @@ -125,7 +125,7 @@ class SilenceTests(unittest.IsolatedAsyncioTestCase):              self.ctx.reset_mock()      async def test_unsilence_sent_correct_discord_message(self): -        """Check if proper message was sent to `alert_chanel`.""" +        """Proper reply after a successful unsilence."""          with mock.patch.object(self.cog, "_unsilence", return_value=True):              await self.cog.unsilence.callback(self.cog, self.ctx)              self.ctx.send.assert_called_once_with(f"{Emojis.check_mark} unsilenced current channel.")  |