mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Fix test.
This commit is contained in:
parent
c433f05190
commit
be36591760
@ -209,11 +209,11 @@ class MiscTestCase(ChannelPluginTestCase):
|
||||
nickConfig.setValue(orig)
|
||||
|
||||
def testMore(self):
|
||||
self.assertRegexp('echo %s' % ('abc'*300), 'more')
|
||||
self.assertRegexp('echo %s' % ('abc'*400), 'more')
|
||||
self.assertRegexp('more', 'more')
|
||||
self.assertNotRegexp('more', 'more')
|
||||
with conf.supybot.plugins.Misc.mores.context(2):
|
||||
self.assertRegexp('echo %s' % ('abc'*600), 'more')
|
||||
self.assertRegexp('echo %s' % ('abc'*700), 'more')
|
||||
|
||||
self.assertNotRegexp('more', 'more')
|
||||
m = self.irc.takeMsg()
|
||||
|
Loading…
Reference in New Issue
Block a user