mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Include the proper string in assertAction's error message.
This commit is contained in:
parent
b57311a68e
commit
2bf838f109
@ -331,7 +331,8 @@ class PluginTestCase(SupyTestCase):
|
||||
self.failUnless(ircmsgs.isAction(m), '%r is not an action.' % m)
|
||||
if expectedResponse is not None:
|
||||
s = ircmsgs.unAction(m)
|
||||
self.assertEqual(s, expectedResponse, '%r != %r' % (s, m))
|
||||
self.assertEqual(s, expectedResponse,
|
||||
'%r != %r' % (s, expectedResponse))
|
||||
return m
|
||||
|
||||
def assertSnarfAction(self, query, expectedResponse=None, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user