mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Until we can safely load Karma, this test is staying commented out.
This commit is contained in:
parent
52e96bff61
commit
89a535e8c1
@ -290,18 +290,18 @@ class ProperStringificationOfReplyArgs(PluginTestCase):
|
|||||||
self.irc.addCallback(self.ExpectsString(self.irc))
|
self.irc.addCallback(self.ExpectsString(self.irc))
|
||||||
self.assertResponse('expectsstring lower [nonstring int]', '1')
|
self.assertResponse('expectsstring lower [nonstring int]', '1')
|
||||||
|
|
||||||
class PrivmsgTestCaseWithKarma(ChannelPluginTestCase):
|
## class PrivmsgTestCaseWithKarma(ChannelPluginTestCase):
|
||||||
plugins = ('Utilities', 'Misc', 'Web', 'Karma', 'String')
|
## plugins = ('Utilities', 'Misc', 'Web', 'Karma', 'String')
|
||||||
conf.allowEval = True
|
## conf.allowEval = True
|
||||||
timeout = 2
|
## timeout = 2
|
||||||
def testSecondInvalidCommandRespondsWithThreadedInvalidCommands(self):
|
## def testSecondInvalidCommandRespondsWithThreadedInvalidCommands(self):
|
||||||
try:
|
## try:
|
||||||
orig = conf.supybot.plugins.Karma.response()
|
## orig = conf.supybot.plugins.Karma.response()
|
||||||
conf.supybot.plugins.Karma.response.setValue(True)
|
## conf.supybot.plugins.Karma.response.setValue(True)
|
||||||
self.assertNotRegexp('echo [foo++] [foo++]', 'not a valid')
|
## self.assertNotRegexp('echo [foo++] [foo++]', 'not a valid')
|
||||||
_ = self.irc.takeMsg()
|
## _ = self.irc.takeMsg()
|
||||||
finally:
|
## finally:
|
||||||
conf.supybot.plugins.Karma.response.setValue(orig)
|
## conf.supybot.plugins.Karma.response.setValue(orig)
|
||||||
|
|
||||||
|
|
||||||
class PrivmsgTestCase(ChannelPluginTestCase):
|
class PrivmsgTestCase(ChannelPluginTestCase):
|
||||||
|
Loading…
Reference in New Issue
Block a user