Fixed over-specifying test.

This commit is contained in:
Jeremy Fincher 2004-02-13 10:33:18 +00:00
parent 175c73d164
commit 8569d70f85
2 changed files with 2 additions and 3 deletions

View File

@ -269,7 +269,7 @@ class QuoteGrabs(plugins.ChannelDBHandler, callbacks.Privmsg):
grabber = ircdb.users.getUser(grabber_mask).name
except:
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))

View File

@ -111,8 +111,7 @@ if sqlite:
self.irc.feedMsg(ircmsgs.privmsg(self.channel, 'test',
prefix=testPrefix))
self.assertNotError('grab foo')
self.assertRegexp('quotegrabs get 1',
'<foo> test \(Said by: foo!bar@baz on .*?\)')
self.assertNotError('quotegrabs get 1')
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: