mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 02:49:27 +01:00
NickAuth: Use assertEqual for string comparison in tests ('foo' is not 'foo' with Pypy).
This commit is contained in:
parent
726558115d
commit
589d55ebcd
@ -50,7 +50,7 @@ class NickAuthTestCase(PluginTestCase):
|
|||||||
self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick,
|
self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick,
|
||||||
'auth',
|
'auth',
|
||||||
prefix=self.prefix))
|
prefix=self.prefix))
|
||||||
self.assertIs(self.irc.takeMsg().command, 'WHOIS')
|
self.assertEqual(self.irc.takeMsg().command, 'WHOIS')
|
||||||
self.assertError('hostmask list')
|
self.assertError('hostmask list')
|
||||||
|
|
||||||
self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick,
|
self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick,
|
||||||
|
Loading…
Reference in New Issue
Block a user