Add a test for dynamic.channel

This commit is contained in:
James Vega 2004-12-17 06:33:45 +00:00
parent db52f4c286
commit e89e5402ca

View File

@ -265,12 +265,16 @@ class FunctionsTestCase(SupyTestCase):
class PrivmsgTestCase(ChannelPluginTestCase): class PrivmsgTestCase(ChannelPluginTestCase):
plugins = ('Utilities', 'Misc') plugins = ('Utilities', 'Misc', 'Http')
conf.allowEval = True conf.allowEval = True
timeout = 2 timeout = 2
def testEmptySquareBrackets(self): def testEmptySquareBrackets(self):
self.assertError('echo []') self.assertError('echo []')
def testHelpNoNameError(self):
# This will raise a NameError if some dynamic scoping isn't working
self.assertHelp('extension')
def testMaximumNestingDepth(self): def testMaximumNestingDepth(self):
original = conf.supybot.commands.nested.maximum() original = conf.supybot.commands.nested.maximum()
try: try: