mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08: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)
|
nickConfig.setValue(orig)
|
||||||
|
|
||||||
def testMore(self):
|
def testMore(self):
|
||||||
self.assertRegexp('echo %s' % ('abc'*300), 'more')
|
self.assertRegexp('echo %s' % ('abc'*400), 'more')
|
||||||
self.assertRegexp('more', 'more')
|
self.assertRegexp('more', 'more')
|
||||||
self.assertNotRegexp('more', 'more')
|
self.assertNotRegexp('more', 'more')
|
||||||
with conf.supybot.plugins.Misc.mores.context(2):
|
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')
|
self.assertNotRegexp('more', 'more')
|
||||||
m = self.irc.takeMsg()
|
m = self.irc.takeMsg()
|
||||||
|
Loading…
Reference in New Issue
Block a user