mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 22:51:01 +01:00
Fix for bug #938377.
This commit is contained in:
parent
16b65f58ec
commit
7b16100376
@ -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()
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user