testWhoisUser: use a shorter username, so it doesn't get truncated

eg. charybdis limits it to 10 characters
This commit is contained in:
2021-02-17 10:45:52 +01:00
parent d69c41756b
commit 75dafa47fe

View File

@ -12,7 +12,7 @@ class WhoisTestCase(cases.BaseServerTestCase):
def testWhoisUser(self):
"""Test basic WHOIS behavior"""
nick = 'myCoolNickname'
username = 'myCoolUsername'
username = 'myUsernam' # may be truncated if longer than this
realname = 'My Real Name'
self.addClient()
self.sendLine(1, f'NICK {nick}')