Skip to content
Permalink
Browse files

Make doc coverage test acceptable list case insensitive

  • Loading branch information
nyalldawson committed Jul 19, 2016
1 parent 4cfacf1 commit 2685a90397c4cf3038976b029a143e663a52000b
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/src/python/utilities.py
@@ -453,7 +453,10 @@ def parseFile(self, f):

unacceptable_undocumented = undocumented - set(acceptable_missing)

if len(unacceptable_undocumented) > 0:
# do a case insensitive check too
unacceptable_undocumented_insensitive = set([u.lower() for u in undocumented]) - set([u.lower() for u in acceptable_missing])

if len(unacceptable_undocumented_insensitive) > 0:
self.undocumented_string += "Class {}, {}/{} members documented\n".format(class_name, documented, members)
for u in unacceptable_undocumented:
self.undocumented_string += ' Missing: {}\n'.format(u)

0 comments on commit 2685a90

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