mirror of
https://github.com/progval/irctest.git
synced 2025-04-05 14:59:49 +00:00
Fix testWhoisUser to pass with inspircd.
This commit is contained in:
@ -27,7 +27,7 @@ class WhoisTestCase(cases.BaseServerTestCase):
|
||||
self.assertEqual(whois_user.command, RPL_WHOISUSER)
|
||||
# "<client> <nick> <username> <host> * :<realname>"
|
||||
self.assertEqual(whois_user.params[1], nick)
|
||||
self.assertEqual(whois_user.params[2], '~' + username)
|
||||
self.assertIn(whois_user.params[2], ('~' + username, username))
|
||||
# dumb regression test for oragono/oragono#355:
|
||||
self.assertNotIn(whois_user.params[3], [nick, username, '~' + username, realname])
|
||||
self.assertEqual(whois_user.params[5], realname)
|
||||
|
Reference in New Issue
Block a user