aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-03-17 19:41:13 +0100
committerGravatar Numerlor <[email protected]>2020-03-17 19:41:13 +0100
commitdced6fdf5f571b82bc975dd3159af57c6f9a12b3 (patch)
treef3e31fafffeb49d16e37740a3fed3ab8936e54a9 /tests
parentFix test name. (diff)
Add docstring to test.
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/moderation/test_silence.py1
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)