Fixed all tests.

This commit is contained in:
Jeremy Fincher 2004-01-31 20:48:05 +00:00
parent e51b41eef3
commit 4ebbf7bf52
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ class Seen(callbacks.Privmsg):
irc.reply('%s was last seen here %s ago saying: %s' % irc.reply('%s was last seen here %s ago saying: %s' %
(name, utils.timeElapsed(time.time()-when), said)) (name, utils.timeElapsed(time.time()-when), said))
except KeyError: except KeyError:
irc.error('I have not seen %s.' % name) irc.reply('I have not seen %s.' % name)
Class = Seen Class = Seen

View File

@ -34,7 +34,7 @@ from testsupport import *
import ircdb import ircdb
class ChannelDBTestCase(ChannelPluginTestCase): class ChannelDBTestCase(ChannelPluginTestCase):
plugins = ('Seen',) plugins = ('Seen', 'User')
def setUp(self): def setUp(self):
ChannelPluginTestCase.setUp(self) ChannelPluginTestCase.setUp(self)
self.prefix = 'foo!bar@baz' self.prefix = 'foo!bar@baz'