diff options
author | 2019-11-09 10:46:34 +0100 | |
---|---|---|
committer | 2019-11-09 10:46:34 +0100 | |
commit | 187d419810759992e19a792fd746f26960f3831a (patch) | |
tree | cf11eb51066f737c839137799bd32268a151c2a1 | |
parent | Add unit test for mentions antispam rule (diff) |
Add missing docstring
-rw-r--r-- | tests/bot/rules/test_mentions.py | 1 |
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) |