From 05e75782c937915eb6265bcce5ba5835facbd2b7 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 24 Feb 2021 19:46:36 +0100 Subject: [PATCH] testNoticeNonexistentChannel: also quote RFC 1459 --- irctest/server_tests/test_messages.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/irctest/server_tests/test_messages.py b/irctest/server_tests/test_messages.py index c6c785c..e6264e8 100644 --- a/irctest/server_tests/test_messages.py +++ b/irctest/server_tests/test_messages.py @@ -54,10 +54,16 @@ class NoticeTestCase(cases.BaseServerTestCase): @cases.mark_specifications("RFC1459", "RFC2812") def testNoticeNonexistentChannel(self): """ + "automatic replies must never be + sent in response to a NOTICE message. This rule applies to servers + too - they must not send any error reply back to the client on + receipt of a notice" + + 'automatic replies MUST NEVER be sent in response to a NOTICE message. This rule applies to servers too - they MUST NOT send any error repl - back to the client on receipt of a notice.' - https://tools.ietf.org/html/rfc2812#section-3.3.2> + back to the client on receipt of a notice." + """ self.connectClient("foo") self.sendLine(1, "NOTICE #nonexistent :hello there")