projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
YAML coverage parser fixed to equate "NO_MESSAGE" with None
[open-adventure.git]
/
tests
/
coverage_dungeon.py
diff --git
a/tests/coverage_dungeon.py
b/tests/coverage_dungeon.py
index 44ce626a11e3dd626c130a7a6b518dd07bb74972..a61c6f7ef43573f228e914ca0aa3c25c397e8c7a 100755
(executable)
--- 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:
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):
action["message"] = True
if action["message"] != True:
if search(action["message"], text):