From 4ebbf7bf52142f602fba1cdbf53de0f3481f4667 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 31 Jan 2004 20:48:05 +0000 Subject: [PATCH] Fixed all tests. --- plugins/Seen.py | 2 +- test/test_Seen.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Seen.py b/plugins/Seen.py index f0ece765b..b298b136f 100644 --- a/plugins/Seen.py +++ b/plugins/Seen.py @@ -154,7 +154,7 @@ class Seen(callbacks.Privmsg): irc.reply('%s was last seen here %s ago saying: %s' % (name, utils.timeElapsed(time.time()-when), said)) except KeyError: - irc.error('I have not seen %s.' % name) + irc.reply('I have not seen %s.' % name) Class = Seen diff --git a/test/test_Seen.py b/test/test_Seen.py index 1bf0f8e7c..1419a3565 100644 --- a/test/test_Seen.py +++ b/test/test_Seen.py @@ -34,7 +34,7 @@ from testsupport import * import ircdb class ChannelDBTestCase(ChannelPluginTestCase): - plugins = ('Seen',) + plugins = ('Seen', 'User') def setUp(self): ChannelPluginTestCase.setUp(self) self.prefix = 'foo!bar@baz'