mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01:00
Gave up on responding with *all* the nonCommands in a message.
This commit is contained in:
parent
63c86ec366
commit
b5f7bec137
@ -38,12 +38,6 @@ class MiscTestCase(ChannelPluginTestCase, PluginDocumentation):
|
|||||||
conf.replyWhenNotCommand = True
|
conf.replyWhenNotCommand = True
|
||||||
self.prefix = 'somethingElse!user@host.domain.tld'
|
self.prefix = 'somethingElse!user@host.domain.tld'
|
||||||
self.assertRegexp('foo bar baz', 'not.*command')
|
self.assertRegexp('foo bar baz', 'not.*command')
|
||||||
try:
|
|
||||||
conf.enablePipeSyntax = True
|
|
||||||
self.assertRegexp('foo | bar | baz', 'not.*commands')
|
|
||||||
finally:
|
|
||||||
conf.enablePipeSyntax = False
|
|
||||||
self.assertRegexp('baz [foo] [bar]', 'not.*commands')
|
|
||||||
finally:
|
finally:
|
||||||
conf.replyWhenNotCommand = False
|
conf.replyWhenNotCommand = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user