Misc: fix test for misc.last

This commit is contained in:
Daniel Folkinshteyn 2011-08-12 16:21:36 -04:00
parent 3a96f6735b
commit 08e676e8fe

View File

@ -166,7 +166,7 @@ class MiscTestCase(ChannelPluginTestCase):
(self.nick, self.nick.upper()))
conf.supybot.plugins.Misc.timestampFormat.setValue('foo')
self.assertSnarfNoResponse('foo bar baz', 1)
self.assertResponse('last', 'foo <%s> foo bar baz' % self.nick)
self.assertResponse('last', '<%s> foo bar baz' % self.nick)
finally:
conf.supybot.plugins.Misc.timestampFormat.setValue(orig)