NickAuth: Use assertEqual for string comparison in tests ('foo' is not 'foo' with Pypy).

This commit is contained in:
Valentin Lorentz 2013-01-07 17:15:17 +01:00
parent 726558115d
commit 589d55ebcd

View File

@ -50,7 +50,7 @@ class NickAuthTestCase(PluginTestCase):
self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick,
'auth',
prefix=self.prefix))
self.assertIs(self.irc.takeMsg().command, 'WHOIS')
self.assertEqual(self.irc.takeMsg().command, 'WHOIS')
self.assertError('hostmask list')
self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick,