add various channel mode tests#276
Conversation
|
|
Unreal also sends an extra parameter for 324 RPL_CHANNELMODEIS: The last parameter is the argument to |
|
The Inspircd fix should be in their 4.0 release, which should be coming soon-ish |
|
@progval I think this is finally done! I updated the Insp stable pointer to |
|
Hmm, Atheme 7.2.12 is incompatible with Insp 4: |
|
Looks like this is blocked: atheme/atheme#904 |
This reverts commit 34534df.
|
I'll write a PR to add |
|
Looks like we hit a real, but nondeterministic, bug in Sable: Should we turn on backtraces? |
|
I'll debug it locally |
|
Oh that was just one of Sable's regular flaky failures. I still don't know how to fix those besides restarting the test. |
| # ERR_NOSUCHNICK is typical, Bahamut additionally sends ERR_USERNOTINCHANNEL | ||
| if self.controller.software_name != "Bahamut": | ||
| self.assertEqual(len(messages), 1) | ||
| self.assertMessageMatch(messages[0], command=ERR_NOSUCHNICK) | ||
| else: | ||
| self.assertLessEqual(len(messages), 2) | ||
| commands = {message.command for message in messages} | ||
| self.assertLessEqual({ERR_NOSUCHNICK}, commands) | ||
| self.assertLessEqual(commands, {ERR_NOSUCHNICK, ERR_USERNOTINCHANNEL}) |
| # Modern: "If <target> is a channel that does not exist on the network, | ||
| # the ERR_NOSUCHCHANNEL (403) numeric is returned." | ||
| # However, Unreal and ngircd send 401 ERR_NOSUCHNICK here instead: | ||
| if self.controller.software_name not in ("UnrealIRCd", "ngIRCd"): | ||
| self.assertEqual(messages[0].command, ERR_NOSUCHCHANNEL) | ||
| else: | ||
| self.assertIn(messages[0].command, [ERR_NOSUCHCHANNEL, ERR_NOSUCHNICK]) |
There was a problem hiding this comment.
Co-authored-by: Val Lorentz <progval+github@progval.net>
This will also be in our next v3 release which comes out the Friday after next. |
Blocked for Ergo by ergochat/ergo#2163 but I wanted to see what the state of play is with other ircds