mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +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)
|
||||
if hasattr(cb, 'isCommand'):
|
||||
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__,
|
||||
'%s.%s has no help.' % (name, attr))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user