mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-18 08:29:27 +01:00
Add a test for dynamic.channel
This commit is contained in:
parent
db52f4c286
commit
e89e5402ca
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user