From 89a535e8c18f70e3b13eeed95175a8147d5d08c2 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 25 Nov 2009 09:17:52 -0600 Subject: [PATCH] Until we can safely load Karma, this test is staying commented out. --- test/test_callbacks.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/test/test_callbacks.py b/test/test_callbacks.py index 225751760..4d1c815b9 100644 --- a/test/test_callbacks.py +++ b/test/test_callbacks.py @@ -290,18 +290,18 @@ class ProperStringificationOfReplyArgs(PluginTestCase): self.irc.addCallback(self.ExpectsString(self.irc)) self.assertResponse('expectsstring lower [nonstring int]', '1') -class PrivmsgTestCaseWithKarma(ChannelPluginTestCase): - plugins = ('Utilities', 'Misc', 'Web', 'Karma', 'String') - conf.allowEval = True - timeout = 2 - def testSecondInvalidCommandRespondsWithThreadedInvalidCommands(self): - try: - orig = conf.supybot.plugins.Karma.response() - conf.supybot.plugins.Karma.response.setValue(True) - self.assertNotRegexp('echo [foo++] [foo++]', 'not a valid') - _ = self.irc.takeMsg() - finally: - conf.supybot.plugins.Karma.response.setValue(orig) +## class PrivmsgTestCaseWithKarma(ChannelPluginTestCase): +## plugins = ('Utilities', 'Misc', 'Web', 'Karma', 'String') +## conf.allowEval = True +## timeout = 2 +## def testSecondInvalidCommandRespondsWithThreadedInvalidCommands(self): +## try: +## orig = conf.supybot.plugins.Karma.response() +## conf.supybot.plugins.Karma.response.setValue(True) +## self.assertNotRegexp('echo [foo++] [foo++]', 'not a valid') +## _ = self.irc.takeMsg() +## finally: +## conf.supybot.plugins.Karma.response.setValue(orig) class PrivmsgTestCase(ChannelPluginTestCase):