Fix in Seen plugin : AssertionError: 'Someone was last seen in #test 0 seconds ago: *** test <test!user@host.domain.tld> has joined #test' does not match 'test has joined'

This commit is contained in:
Valentin Lorentz 2010-10-20 08:50:59 +02:00
parent db2324f543
commit e4f198ddf7

View File

@ -50,7 +50,7 @@ class ChannelDBTestCase(ChannelPluginTestCase):
self.assertNotRegexp('seen asldfkjasdlfkj', 'KeyError')
def testAny(self):
self.assertRegexp('seen any', 'test has joined')
self.assertRegexp('seen any', 'test <test!user@host.domain.tld> has joined')
self.irc.feedMsg(ircmsgs.mode(self.channel, args=('+o', self.nick),
prefix=self.prefix))
self.assertRegexp('seen any %s' % self.nick,