From ec1e60bf003766accc2c7a9d3d6d5b61d0cee531 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 11 Sep 2003 05:16:12 +0000 Subject: [PATCH] Updated test to reflect new msg.nick != irc.nick guard in doPrivmsg. --- test/test_MiscCommands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_MiscCommands.py b/test/test_MiscCommands.py index ce0e5ea16..bb82ef0eb 100644 --- a/test/test_MiscCommands.py +++ b/test/test_MiscCommands.py @@ -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')