diff options
| author | 2019-11-02 01:19:07 +0100 | |
|---|---|---|
| committer | 2019-11-02 01:19:07 +0100 | |
| commit | 9e16b0cf17e93295167956d31ad9f92396ca3402 (patch) | |
| tree | 3889973060c4adb52ea2a416afff249fc05bdd9e /tests | |
| parent | Add two more test cases for links rule unit test (diff) | |
Annotate unclear test cases with inline comments
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bot/rules/test_links.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/tests/bot/rules/test_links.py b/tests/bot/rules/test_links.py index f043495cf..a04b90c13 100644 --- a/tests/bot/rules/test_links.py +++ b/tests/bot/rules/test_links.py @@ -38,9 +38,9 @@ class LinksTests(unittest.TestCase):          cases = (              [msg("bob", 0)],              [msg("bob", 2)], -            [msg("bob", 3)], +            [msg("bob", 3)],  # Filter only applies if len(messages_with_links) > 1              [msg("bob", 1), msg("bob", 1)], -            [msg("bob", 3), msg("alice", 3)] +            [msg("bob", 3), msg("alice", 3)]  # Only messages from latest author count          )          for recent_messages in cases: | 
