From 0880a07b72d03647fd917b59d9fa92b4fd1eb88c Mon Sep 17 00:00:00 2001 From: James Vega Date: Wed, 29 Jun 2005 14:16:31 +0000 Subject: [PATCH] test/test_callbacks: Fix a test failure. --- test/test_callbacks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_callbacks.py b/test/test_callbacks.py index 409ce69a2..3ffbacfeb 100644 --- a/test/test_callbacks.py +++ b/test/test_callbacks.py @@ -291,7 +291,7 @@ class ProperStringificationOfReplyArgs(PluginTestCase): self.assertResponse('expectsstring lower [nonstring int]', '1') class PrivmsgTestCase(ChannelPluginTestCase): - plugins = ('Utilities', 'Misc', 'Web', 'Karma') + plugins = ('Utilities', 'Misc', 'Web', 'Karma', 'String') conf.allowEval = True timeout = 2 def testEmptySquareBrackets(self): @@ -322,14 +322,14 @@ class PrivmsgTestCase(ChannelPluginTestCase): '\x01ACTION foo\x01') def testReplyWithNickPrefix(self): - self.feedMsg('@strlen foo') + self.feedMsg('@len foo') m = self.irc.takeMsg() self.failUnless(m is not None, 'm: %r' % m) self.failUnless(m.args[1].startswith(self.nick)) try: original = conf.supybot.reply.withNickPrefix() conf.supybot.reply.withNickPrefix.setValue(False) - self.feedMsg('@strlen foobar') + self.feedMsg('@len foobar') m = self.irc.takeMsg() self.failUnless(m is not None) self.failIf(m.args[1].startswith(self.nick))