mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fixed all tests.
This commit is contained in:
parent
e51b41eef3
commit
4ebbf7bf52
@ -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
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user