X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=tests%2Fcoverage_dungeon.py;h=a61c6f7ef43573f228e914ca0aa3c25c397e8c7a;hp=44ce626a11e3dd626c130a7a6b518dd07bb74972;hb=2ec9c7cc1a053e8e0fe1a76447d156828210f3db;hpb=a6e80af64f5e5e4c8c9d0df7914f1911da05af28 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):