irctest.server_tests.whois

The WHOIS command (Modern)

TODO: cross-reference RFC 1459 and RFC 2812

ServicesWhoisTestCase

bahamut
bahamut-anope
bahamut-atheme
charybdis
ergo
hybrid
inspircd
inspircd-anope
inspircd-atheme
irc2
ircu2
nefarious
ngircd
ngircd-anope
ngircd-atheme
plexus4
sable
solanum
unrealircd
unrealircd-5
unrealircd-anope
unrealircd-atheme
testInvisibleWhois

Test interaction between MODE +i and RPL_WHOISCHANNELS.

dddd.ddddddddddddddddd
testWhoisAccount

Test numeric 330, RPL_WHOISACCOUNT.

<https://defs.ircdocs.horse/defs/numerics.html#rpl-whoisaccount-330>

dss..sd..ddddsss..dd..
testWhoisNumerics[normal]
Tests all numerics are in the exhaustive list defined in the Modern spec,

on an authenticated user.

<https://modern.ircdocs.horse/#whois-message>

dss..sd..ddddsss..dd..
testWhoisNumerics[oper]
Tests all numerics are in the exhaustive list defined in the Modern spec,

on an authenticated user.

<https://modern.ircdocs.horse/#whois-message>

dssX.sd..ddddsss..dd..

WhoisTestCase

bahamut
bahamut-anope
bahamut-atheme
charybdis
ergo
hybrid
inspircd
inspircd-anope
inspircd-atheme
irc2
ircu2
nefarious
ngircd
ngircd-anope
ngircd-atheme
plexus4
sable
solanum
unrealircd
unrealircd-5
unrealircd-anope
unrealircd-atheme
testWhoisMissingUser

Test WHOIS on a nonexistent nickname.

.dd....dd....dd.X...dd
testWhoisNumerics[away]

Tests all numerics are in the exhaustive list defined in the Modern spec.

<https://modern.ircdocs.horse/#whois-message>

.dd....dd....dd.....dd
testWhoisNumerics[normal]

Tests all numerics are in the exhaustive list defined in the Modern spec.

<https://modern.ircdocs.horse/#whois-message>

.dd....dd....dd.....dd
testWhoisNumerics[oper]

Tests all numerics are in the exhaustive list defined in the Modern spec.

<https://modern.ircdocs.horse/#whois-message>

.ddX...dd....dd.....dd
testWhoisUser[no-target]

Test basic WHOIS behavior

.dd....dd....dd.....dd
testWhoisUser[target-nick]

Test basic WHOIS behavior

.dd....dd....dd.....dd
testWhoisUser[target_server]

Test basic WHOIS behavior

.dd....dd....dd.....dd