diff options
| author | 2020-03-17 19:41:13 +0100 | |
|---|---|---|
| committer | 2020-03-17 19:41:13 +0100 | |
| commit | dced6fdf5f571b82bc975dd3159af57c6f9a12b3 (patch) | |
| tree | f3e31fafffeb49d16e37740a3fed3ab8936e54a9 | |
| parent | Fix test name. (diff) | |
Add docstring to test.
| -rw-r--r-- | tests/bot/cogs/moderation/test_silence.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bot/cogs/moderation/test_silence.py b/tests/bot/cogs/moderation/test_silence.py index 55193e2f8..71541086d 100644 --- a/tests/bot/cogs/moderation/test_silence.py +++ b/tests/bot/cogs/moderation/test_silence.py @@ -159,6 +159,7 @@ class SilenceTests(unittest.IsolatedAsyncioTestCase): self.cog.notifier.add_channel.assert_not_called() async def test_silence_private_added_muted_channel(self): + """Channel was added to `muted_channels` on silence.""" channel = MockTextChannel() with mock.patch.object(self.cog, "muted_channels") as muted_channels: await self.cog._silence(channel, False, None) |