mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Fixed over-specifying test.
This commit is contained in:
parent
175c73d164
commit
8569d70f85
@ -269,7 +269,7 @@ class QuoteGrabs(plugins.ChannelDBHandler, callbacks.Privmsg):
|
|||||||
grabber = ircdb.users.getUser(grabber_mask).name
|
grabber = ircdb.users.getUser(grabber_mask).name
|
||||||
except:
|
except:
|
||||||
grabber = grabber_mask
|
grabber = grabber_mask
|
||||||
irc.reply('%s (Said by: %s; grabbed by %s on %s)' % \
|
irc.reply('%s (Said by: %s; grabbed by %s at %s)' % \
|
||||||
(quote, hostmask, grabber, time_str))
|
(quote, hostmask, grabber, time_str))
|
||||||
|
|
||||||
|
|
||||||
|
@ -111,8 +111,7 @@ if sqlite:
|
|||||||
self.irc.feedMsg(ircmsgs.privmsg(self.channel, 'test',
|
self.irc.feedMsg(ircmsgs.privmsg(self.channel, 'test',
|
||||||
prefix=testPrefix))
|
prefix=testPrefix))
|
||||||
self.assertNotError('grab foo')
|
self.assertNotError('grab foo')
|
||||||
self.assertRegexp('quotegrabs get 1',
|
self.assertNotError('quotegrabs get 1')
|
||||||
'<foo> test \(Said by: foo!bar@baz on .*?\)')
|
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user