From 2ec9c7cc1a053e8e0fe1a76447d156828210f3db Mon Sep 17 00:00:00 2001 From: Aaron Traas Date: Thu, 13 Jul 2017 15:10:26 -0400 Subject: [PATCH] YAML coverage parser fixed to equate "NO_MESSAGE" with None --- 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 44ce626..a61c6f7 100755 --- a/tests/coverage_dungeon.py +++ b/tests/coverage_dungeon.py @@ -122,7 +122,7 @@ def obit_coverage(obituaries, text): def actions_coverage(actions, text): for name, action in actions: - if action["message"] == None: + if action["message"] == None or action["message"] == "NO_MESSAGE": action["message"] = True if action["message"] != True: if search(action["message"], text): -- 2.31.1