mirror of
https://github.com/progval/irctest.git
synced 2025-04-05 14:59:49 +00:00
testWhoisUser: use a shorter username, so it doesn't get truncated
eg. charybdis limits it to 10 characters
This commit is contained in:
@ -12,7 +12,7 @@ class WhoisTestCase(cases.BaseServerTestCase):
|
|||||||
def testWhoisUser(self):
|
def testWhoisUser(self):
|
||||||
"""Test basic WHOIS behavior"""
|
"""Test basic WHOIS behavior"""
|
||||||
nick = 'myCoolNickname'
|
nick = 'myCoolNickname'
|
||||||
username = 'myCoolUsername'
|
username = 'myUsernam' # may be truncated if longer than this
|
||||||
realname = 'My Real Name'
|
realname = 'My Real Name'
|
||||||
self.addClient()
|
self.addClient()
|
||||||
self.sendLine(1, f'NICK {nick}')
|
self.sendLine(1, f'NICK {nick}')
|
||||||
|
Reference in New Issue
Block a user