From 83c32598be7a7a92fdf75d240212e7aeceb6c2d0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 8 Mar 2023 21:54:45 -0500 Subject: [PATCH] Partially address Gitlsb issue #64: Coverage summary looks wrong --- tests/coverage_dungeon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.31.1