mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Updated test to reflect new msg.nick != irc.nick guard in doPrivmsg.
This commit is contained in:
parent
77ff4f8036
commit
ec1e60bf00
@ -35,6 +35,8 @@ class MiscCommandsTestCase(PluginTestCase, PluginDocumentation):
|
||||
plugins = ('MiscCommands', 'Utilities')
|
||||
def testReplyWhenNotCommand(self):
|
||||
conf.replyWhenNotCommand = True
|
||||
self.prefix = 'somethingElse!user@host.domain.tld'
|
||||
self.irc.nick = 'foobarlkajdf'
|
||||
self.assertRegexp('foo bar baz', 'not.*command')
|
||||
self.assertRegexp('foo | bar | baz', 'not.*commands')
|
||||
self.assertRegexp('baz [foo] [bar]', 'not.*commands')
|
||||
|
Loading…
Reference in New Issue
Block a user