@@ -54,15 +54,15 @@ def testNonutf8Realname(self):
54
54
raise runner .IsupportTokenNotSupported ("UTF8ONLY" )
55
55
56
56
self .addClient ()
57
- self .sendLine (2 , "NICK foo " )
57
+ self .sendLine (2 , "NICK bar " )
58
58
self .clients [2 ].conn .sendall (b"USER username * * :i\xe8 rc\xe9 \r \n " )
59
59
60
60
d = self .clients [2 ].conn .recv (1024 )
61
- if b" FAIL " in d or b" 468 " in d : # ERR_INVALIDUSERNAME
61
+ if b"FAIL " in d or b"468 " in d : # ERR_INVALIDUSERNAME
62
62
return # nothing more to test
63
- self .assertIn (b" 001 " , d )
63
+ self .assertIn (b"001 " , d )
64
64
65
- self .sendLine (2 , "WHOIS foo " )
65
+ self .sendLine (2 , "WHOIS bar " )
66
66
self .getMessages (2 )
67
67
68
68
def testNonutf8Username (self ):
@@ -71,7 +71,7 @@ def testNonutf8Username(self):
71
71
raise runner .IsupportTokenNotSupported ("UTF8ONLY" )
72
72
73
73
self .addClient ()
74
- self .sendLine (2 , "NICK foo " )
74
+ self .sendLine (2 , "NICK bar " )
75
75
self .sendLine (2 , "USER 😊😊😊😊😊😊😊😊😊😊 * * :realname" )
76
76
m = self .getRegistrationMessage (2 )
77
77
if m .command in ("FAIL" , "468" ): # ERR_INVALIDUSERNAME
@@ -80,7 +80,7 @@ def testNonutf8Username(self):
80
80
m ,
81
81
command = "001" ,
82
82
)
83
- self .sendLine (2 , "WHOIS foo " )
83
+ self .sendLine (2 , "WHOIS bar " )
84
84
self .getMessages (2 )
85
85
86
86
0 commit comments