aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2019-11-09 10:46:34 +0100
committerGravatar kwzrd <[email protected]>2019-11-09 10:46:34 +0100
commit187d419810759992e19a792fd746f26960f3831a (patch)
treecf11eb51066f737c839137799bd32268a151c2a1 /tests
parentAdd unit test for mentions antispam rule (diff)
Add missing docstring
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/rules/test_mentions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bot/rules/test_mentions.py b/tests/bot/rules/test_mentions.py
index 520184c2f..987a42c0a 100644
--- a/tests/bot/rules/test_mentions.py
+++ b/tests/bot/rules/test_mentions.py
@@ -18,6 +18,7 @@ class Case(NamedTuple):
def msg(author: str, total_mentions: int) -> FakeMessage:
+ """Makes a message with `total_mentions` mentions."""
return FakeMessage(author=author, mentions=[None] * total_mentions)