From 59d5d2c76e9e0c122d0389a36f4cbed159aa15b3 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Wed, 4 Oct 2017 18:48:38 +1000 Subject: [PATCH] channels: No-topic numeric isn't required after joining a channel, it's optional --- irctest/server_tests/test_channel_operations.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/irctest/server_tests/test_channel_operations.py b/irctest/server_tests/test_channel_operations.py index 727902d..1e4b53e 100644 --- a/irctest/server_tests/test_channel_operations.py +++ b/irctest/server_tests/test_channel_operations.py @@ -34,8 +34,6 @@ class JoinTestCase(cases.BaseServerTestCase): self.assertTrue(expected_commands.issubset(received_commands), 'Server sent {} commands, but at least {} were expected.' .format(received_commands, expected_commands)) - self.assertTrue(received_commands & {'331', '332'} != set(), # RPL_NOTOPIC, RPL_TOPIC - 'Server sent neither 331 (RPL_NOTOPIC) or 332 (RPL_TOPIC)') @cases.SpecificationSelector.requiredBySpecification('RFC2812') def testJoinNamreply(self):