Eh, just made the formatting of assertActionRegexp different.

This commit is contained in:
Jeremy Fincher 2003-10-16 10:46:04 +00:00
parent 889e99cec6
commit 06a45ff35a

View File

@ -248,9 +248,9 @@ class PluginTestCase(unittest.TestCase):
if m is None:
raise TimeoutError, query
self.failUnless(ircmsgs.isAction(m))
self.failUnless(re.search(regexp, ircmsgs.unAction(m), flags),
'%r does not match %r' % (ircmsgs.unAction(m),
regexp))
s = ircmsgs.unAction(m)
self.failUnless(re.search(regexp, s, flags),
'%r does not match %r' % (s, regexp))
class ChannelPluginTestCase(PluginTestCase):
channel = '#test'