mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Misc: fix test for misc.last
This commit is contained in:
parent
3a96f6735b
commit
08e676e8fe
@ -166,7 +166,7 @@ class MiscTestCase(ChannelPluginTestCase):
|
|||||||
(self.nick, self.nick.upper()))
|
(self.nick, self.nick.upper()))
|
||||||
conf.supybot.plugins.Misc.timestampFormat.setValue('foo')
|
conf.supybot.plugins.Misc.timestampFormat.setValue('foo')
|
||||||
self.assertSnarfNoResponse('foo bar baz', 1)
|
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:
|
finally:
|
||||||
conf.supybot.plugins.Misc.timestampFormat.setValue(orig)
|
conf.supybot.plugins.Misc.timestampFormat.setValue(orig)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user