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')