From 19257da2843b96d500b21936d402096785dfc362 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 18 Nov 2014 15:13:18 +0100
Subject: [PATCH] fixup! test_result: a test cannot be successful if there are
 unknown test result lines

manually edited xml ...
---
 .../test_result_workflow/scripts/TestResult_complete.xml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bt5/erp5_test_result/WorkflowTemplateItem/portal_workflow/test_result_workflow/scripts/TestResult_complete.xml b/bt5/erp5_test_result/WorkflowTemplateItem/portal_workflow/test_result_workflow/scripts/TestResult_complete.xml
index cbdb1ea93a..ad66efb8ac 100644
--- a/bt5/erp5_test_result/WorkflowTemplateItem/portal_workflow/test_result_workflow/scripts/TestResult_complete.xml
+++ b/bt5/erp5_test_result/WorkflowTemplateItem/portal_workflow/test_result_workflow/scripts/TestResult_complete.xml
@@ -64,7 +64,7 @@ if test_result.getPortalType() == \'Test Result\':\n
   for line in test_result.objectValues(portal_type=\'Test Result Line\'):\n
     for prop in edit_kw:\n
       edit_kw[prop] = edit_kw[prop] + line.getProperty(prop, 0)\n
-    has_unknown_result = has_unknown_result or line.getStringIndex() == 'UNKNOWN'\n
+    has_unknown_result = has_unknown_result or line.getStringIndex() == \'UNKNOWN\'\n
   if has_unknown_result or edit_kw[\'errors\'] or edit_kw[\'failures\']:\n
     status = \'FAIL\'\n
   else:\n
-- 
2.30.9