X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tests%2Fcoverage_dungeon.py;h=c583ffb5f79689fbb9244a86d86edec4be009965;hb=54927c33e548c58080232f43584bdd8cbcea068d;hp=80102e3b01c53c5c3fab81d83017329cab66a8a5;hpb=f53476f82624231425cf381906952ecabbdb52d7;p=open-adventure.git diff --git a/tests/coverage_dungeon.py b/tests/coverage_dungeon.py index 80102e3..c583ffb 100755 --- a/tests/coverage_dungeon.py +++ b/tests/coverage_dungeon.py @@ -7,7 +7,7 @@ various strings contained are present within the test check files. The default HTML output is appropriate for use with Gitlab CI. You can override it with a command-line argument. -The DANGLING lists are for actions and messages that should be +The DANGLING lists are for actions and messages that should be considered always found even if the checkfile search doesn't find them. Typically this will because an action emit a templated message that can't be regression-tested by equality. @@ -99,7 +99,7 @@ def obj_coverage(objects, text, report): def loc_coverage(locations, text, report): # locations have a long and a short description, that each have to - # be checked seperately + # be checked separately for name, loc in locations: desc = loc["description"] if name not in report["messages"]: @@ -173,7 +173,7 @@ def actions_coverage(items, text, report): report["covered"] += 1 def coverage_report(db, check_file_contents): - # Create report for each catagory, including total items, number of items + # Create report for each category, including total items, number of items # covered, and a list of the covered messages report = {} for name in db.keys():