From 75dafa47fee78ca1083dfdcc3b4607aca9d00105 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 17 Feb 2021 10:45:52 +0100 Subject: [PATCH] testWhoisUser: use a shorter username, so it doesn't get truncated eg. charybdis limits it to 10 characters --- irctest/server_tests/test_user_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irctest/server_tests/test_user_commands.py b/irctest/server_tests/test_user_commands.py index 5809966..8273dec 100644 --- a/irctest/server_tests/test_user_commands.py +++ b/irctest/server_tests/test_user_commands.py @@ -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}')