Skip to content
Permalink
Browse files

Try to fix handling of undocumented members on Travis

  • Loading branch information
nyalldawson committed May 22, 2018
1 parent 14cf46c commit 91a792b8d8bd0fa98fc0f5180d2a8ba6bcb2fb6e
Showing with 2 additions and 2 deletions.
  1. +1 −1 tests/code_layout/doxygen_parser.py
  2. +1 −1 tests/code_layout/test_qgsdoccoverage.py
@@ -266,7 +266,7 @@ def memberSignature(self, elem):
signature = elem.find('name').text
if signature.endswith('= default'):
signature = signature[:-len('= default')]
return signature
return signature.strip()
except:
return None

@@ -58,7 +58,7 @@ def testCoverage(self):
for cls, props in list(parser.undocumented_members.items()):
print(('\n\nClass {}, {}/{} members documented\n'.format(colored(cls, 'yellow'), props['documented'], props['members'])))
for mem in props['missing_members']:
print((colored(' ' + mem, 'yellow', attrs=['bold'])))
print((colored(' "' + mem + '"', 'yellow', attrs=['bold'])))

# self.assertEquals(len(parser.undocumented_string), 0, 'FAIL: new undocumented members have been introduced, please add documentation for these members')

0 comments on commit 91a792b

Please sign in to comment.
You can’t perform that action at this time.