mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Limiter: Fix "reduce limit" test case.
Closes: Sf#3058142 Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
c9274606ce
commit
c0e24cef30
@ -47,7 +47,7 @@ class LimiterTestCase(ChannelPluginTestCase):
|
||||
conf.supybot.plugins.Limiter.maximumExcess.setValue(7)
|
||||
self.irc.feedMsg(ircmsgs.part('#foo', prefix='bar!root@host'))
|
||||
m = self.irc.takeMsg()
|
||||
self.assertEqual(m, ircmsgs.limit('#foo', 1-5))
|
||||
self.assertEqual(m, ircmsgs.limit('#foo', 1+5))
|
||||
finally:
|
||||
conf.supybot.plugins.Limiter.minimumExcess.setValue(origMin)
|
||||
conf.supybot.plugins.Limiter.maximumExcess.setValue(origMax)
|
||||
|
Loading…
Reference in New Issue
Block a user