diff options
author | 2020-10-21 09:46:33 -0700 | |
---|---|---|
committer | 2020-10-21 09:46:33 -0700 | |
commit | 50324b3ec0e0285300e4f4cf389fd93c4801f1ec (patch) | |
tree | ba6a46a6a7a445ee6f3fa8479b638e87b7ed1829 | |
parent | Reminders: rename namespace constant (diff) |
Silence tests: update docstrings in notifier tests
-rw-r--r-- | tests/bot/exts/moderation/test_silence.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/exts/moderation/test_silence.py b/tests/bot/exts/moderation/test_silence.py index 6b67a21a0..104293d8e 100644 --- a/tests/bot/exts/moderation/test_silence.py +++ b/tests/bot/exts/moderation/test_silence.py @@ -43,7 +43,7 @@ class SilenceNotifierTests(unittest.IsolatedAsyncioTestCase): self.notifier.start = self.notifier_start_mock = Mock() def test_add_channel_adds_channel(self): - """Channel in FirstHash with current loop is added to internal set.""" + """Channel is added to `_silenced_channels` with the current loop.""" channel = Mock() with mock.patch.object(self.notifier, "_silenced_channels") as silenced_channels: self.notifier.add_channel(channel) @@ -61,7 +61,7 @@ class SilenceNotifierTests(unittest.IsolatedAsyncioTestCase): self.notifier_start_mock.assert_not_called() def test_remove_channel_removes_channel(self): - """Channel in FirstHash is removed from `_silenced_channels`.""" + """Channel is removed from `_silenced_channels`.""" channel = Mock() with mock.patch.object(self.notifier, "_silenced_channels") as silenced_channels: self.notifier.remove_channel(channel) |