This commit is contained in:
Jeremy Fincher 2004-04-20 10:59:20 +00:00
parent 16b65f58ec
commit 7b16100376
2 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,7 @@ class LogProxy(object):
Logs <text> to the global supybot log at critical priority. Useful for Logs <text> to the global supybot log at critical priority. Useful for
marking logfiles for later searching. marking logfiles for later searching.
""" """
__name__ = 'log' # Necessary for help.
def __init__(self, log): def __init__(self, log):
self.log = log self.log = log
self.im_func = holder() self.im_func = holder()

View File

@ -36,6 +36,9 @@ import Owner
class OwnerTestCase(PluginTestCase, PluginDocumentation): class OwnerTestCase(PluginTestCase, PluginDocumentation):
plugins = ('Utilities', 'Relay', 'Network', 'Admin', 'Channel') plugins = ('Utilities', 'Relay', 'Network', 'Admin', 'Channel')
def testHelpLog(self):
self.assertHelp('help log')
def testEval(self): def testEval(self):
try: try:
originalConfAllowEval = conf.allowEval originalConfAllowEval = conf.allowEval