mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 22:51:01 +01:00
Doesn't matter now, but just in case...
This commit is contained in:
parent
d27fa33995
commit
332a1826d5
@ -273,7 +273,8 @@ class PluginTestCase(unittest.TestCase):
|
|||||||
'%s has no module documentation.' % name)
|
'%s has no module documentation.' % name)
|
||||||
if hasattr(cb, 'isCommand'):
|
if hasattr(cb, 'isCommand'):
|
||||||
for attr in dir(cb):
|
for attr in dir(cb):
|
||||||
if cb.isCommand(attr):
|
if cb.isCommand(attr) and \
|
||||||
|
attr == callbacks.canonicalName(attr):
|
||||||
self.failUnless(getattr(cb, attr, None).__doc__,
|
self.failUnless(getattr(cb, attr, None).__doc__,
|
||||||
'%s.%s has no help.' % (name, attr))
|
'%s.%s has no help.' % (name, attr))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user