From: Eric S. Raymond Date: Thu, 9 Mar 2023 02:54:45 +0000 (-0500) Subject: Partially address Gitlsb issue #64: Coverage summary looks wrong X-Git-Tag: 1.14~4 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=83c32598be7a7a92fdf75d240212e7aeceb6c2d0;p=open-adventure.git Partially address Gitlsb issue #64: Coverage summary looks wrong --- diff --git a/tests/coverage_dungeon.py b/tests/coverage_dungeon.py index 288b1c0..d484193 100755 --- 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