Skip to content

Commit 91a792b

Browse files
committedMay 23, 2018
Try to fix handling of undocumented members on Travis
1 parent 14cf46c commit 91a792b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎tests/code_layout/doxygen_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def memberSignature(self, elem):
266266
signature = elem.find('name').text
267267
if signature.endswith('= default'):
268268
signature = signature[:-len('= default')]
269-
return signature
269+
return signature.strip()
270270
except:
271271
return None
272272

‎tests/code_layout/test_qgsdoccoverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def testCoverage(self):
5858
for cls, props in list(parser.undocumented_members.items()):
5959
print(('\n\nClass {}, {}/{} members documented\n'.format(colored(cls, 'yellow'), props['documented'], props['members'])))
6060
for mem in props['missing_members']:
61-
print((colored(' ' + mem, 'yellow', attrs=['bold'])))
61+
print((colored(' "' + mem + '"', 'yellow', attrs=['bold'])))
6262

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

0 commit comments

Comments
 (0)