From 0f2445c1eb656db419cc1d9e1065b8ae3e711979 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 3 Mar 2021 14:37:03 -0500 Subject: [PATCH] review fixes --- irctest/server_tests/test_message_tags.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/irctest/server_tests/test_message_tags.py b/irctest/server_tests/test_message_tags.py index 323954c..ce190f7 100644 --- a/irctest/server_tests/test_message_tags.py +++ b/irctest/server_tests/test_message_tags.py @@ -108,6 +108,7 @@ class MessageTagsTestCase(cases.BaseServerTestCase, cases.OptionalityHelper): self.assertEqual(alice_msg.tags["msgid"], bob_msg.tags["msgid"]) @cases.mark_capabilities("message-tags") + @cases.mark_specifications("ircdocs") def testLengthLimits(self): self.connectClient( "alice", @@ -157,7 +158,9 @@ class MessageTagsTestCase(cases.BaseServerTestCase, cases.OptionalityHelper): # the server may still reject this message on the grounds that the final # parameter is too long to be relayed without truncation, once alice's # NUH is included. however, if the message was accepted, the tags MUST - # be relayed intact, because they are unquestionably valid: + # be relayed intact, because they are unquestionably valid. See the + # original context of ERR_INPUTTOOLONG: + # https://defs.ircdocs.horse/defs/numerics.html#err-inputtoolong-417 if echo.command != ERR_INPUTTOOLONG: relay = self.getMessage("bob") self.assertMessageMatch(