From 6feddd69b4fdd31f8a0f32e780467769c70a5ccc Mon Sep 17 00:00:00 2001
From: Vincent Bechu <vincent.bechu@nexedi.com>
Date: Thu, 10 Aug 2017 15:45:38 +0200
Subject: [PATCH] [product/ERP5Type] Define failure before use in
 ERP5TypeFunctionalTestCase.py

---
 product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
index c8fd07bf20..c42b7ae9b8 100644
--- a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
+++ b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
@@ -188,7 +188,7 @@ class FunctionalTestRunner:
 
   def processResult(self, iframe):
     tbody = iframe.xpath('.//body/table/tbody')[0]
-    tr_count = failure_amount = expected_failure_amount = 0
+    tr_count = failure_amount = expected_failure_amount = failuere = 0
     error_title_list = []
     detail = ""
     for tr in tbody:
-- 
2.30.9