From 8569d70f85ebf98bcf299082c67be53cee4eb392 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 13 Feb 2004 10:33:18 +0000 Subject: [PATCH] Fixed over-specifying test. --- plugins/QuoteGrabs.py | 2 +- test/test_QuoteGrabs.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/QuoteGrabs.py b/plugins/QuoteGrabs.py index c5e744781..3772d6241 100644 --- a/plugins/QuoteGrabs.py +++ b/plugins/QuoteGrabs.py @@ -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)) diff --git a/test/test_QuoteGrabs.py b/test/test_QuoteGrabs.py index d6bda5d56..5e56dd745 100644 --- a/test/test_QuoteGrabs.py +++ b/test/test_QuoteGrabs.py @@ -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', - ' test \(Said by: foo!bar@baz on .*?\)') + self.assertNotError('quotegrabs get 1') # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: