From e89e5402ca03022c5a60d52eba2ef42cfde035b5 Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 17 Dec 2004 06:33:45 +0000 Subject: [PATCH] Add a test for dynamic.channel --- test/test_callbacks.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/test_callbacks.py b/test/test_callbacks.py index 3f1ef5e6c..14fa6bf55 100644 --- a/test/test_callbacks.py +++ b/test/test_callbacks.py @@ -265,12 +265,16 @@ class FunctionsTestCase(SupyTestCase): class PrivmsgTestCase(ChannelPluginTestCase): - plugins = ('Utilities', 'Misc') + plugins = ('Utilities', 'Misc', 'Http') conf.allowEval = True timeout = 2 def testEmptySquareBrackets(self): self.assertError('echo []') + def testHelpNoNameError(self): + # This will raise a NameError if some dynamic scoping isn't working + self.assertHelp('extension') + def testMaximumNestingDepth(self): original = conf.supybot.commands.nested.maximum() try: