Commit 28926ba2 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_test_result: fix AttributeError: string_index in...

erp5_test_result: fix AttributeError: string_index in TestResult_view/listbox_string_index tales expression
parent 20401527
......@@ -267,7 +267,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: "style=\'color:%s;\'" % {"FAILED":"red", "PASSED":"green"}.get(cell.string_index, "black")</string> </value>
<value> <string>python: "style=\'color:%s;\'" % {"FAILED":"red", "PASSED":"green"}.get(cell.getStringIndex("UNKNOWN"), "black")</string> </value>
</item>
</dictionary>
</pickle>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment