projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b95e9
)
Partially address Gitlsb issue #64: Coverage summary looks wrong
author
Eric S. Raymond
<esr@thyrsus.com>
Thu, 9 Mar 2023 02:54:45 +0000
(21:54 -0500)
committer
Eric S. Raymond
<esr@thyrsus.com>
Thu, 9 Mar 2023 02:54:45 +0000
(21:54 -0500)
tests/coverage_dungeon.py
patch
|
blob
|
history
diff --git
a/tests/coverage_dungeon.py
b/tests/coverage_dungeon.py
index 288b1c01a707d4f323ac35aa5647de71a3bad519..d484193707a33f79755ada3a274625a34a883eae 100755
(executable)
--- a/
tests/coverage_dungeon.py
+++ b/
tests/coverage_dungeon.py
@@
-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