mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
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:
parent
db2324f543
commit
e4f198ddf7
@ -50,7 +50,7 @@ class ChannelDBTestCase(ChannelPluginTestCase):
|
|||||||
self.assertNotRegexp('seen asldfkjasdlfkj', 'KeyError')
|
self.assertNotRegexp('seen asldfkjasdlfkj', 'KeyError')
|
||||||
|
|
||||||
def testAny(self):
|
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),
|
self.irc.feedMsg(ircmsgs.mode(self.channel, args=('+o', self.nick),
|
||||||
prefix=self.prefix))
|
prefix=self.prefix))
|
||||||
self.assertRegexp('seen any %s' % self.nick,
|
self.assertRegexp('seen any %s' % self.nick,
|
||||||
|
Loading…
Reference in New Issue
Block a user