Partially address Gitlsb issue #64: Coverage summary looks wrong
This commit is contained in:
parent
98b95e92ee
commit
83c32598be
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ def threshold_coverage(classes, text, report):
|
|||
# property
|
||||
for name, item in enumerate(classes):
|
||||
if name not in report["messages"]:
|
||||
report["messages"][name] = {"covered" : "False"}
|
||||
report["messages"][name] = {"covered" : False}
|
||||
report["total"] += 1
|
||||
if not report["messages"][name]["covered"] and search(item["message"], text):
|
||||
report["messages"][name]["covered"] = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue