From a9f9e660ad8b1a873ac9c913e3070ee2e1677245 Mon Sep 17 00:00:00 2001 From: Vincent Bechu <vincent.bechu@nexedi.com> Date: Thu, 10 Aug 2017 15:51:14 +0200 Subject: [PATCH] [product/ERP5Type: remove useless parameter failure in ERP5TypeFunctionalTestCase.py /reviewed-on https://lab.nexedi.com/nexedi/erp5/merge_requests/346 --- product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py index 413c6b2c51..13edcc3167 100644 --- a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py @@ -186,7 +186,7 @@ class FunctionalTestRunner: def processResult(self, iframe): tbody = iframe.xpath('.//body/table/tbody')[0] - tr_count = failure_amount = expected_failure_amount = failuere = 0 + tr_count = failure_amount = expected_failure_amount = 0 error_title_list = [] detail = "" for tr in tbody: @@ -196,7 +196,6 @@ class FunctionalTestRunner: error = False if len(tr) == 1: # Test was not executed - failure += 1 detail += 'Test ' + test_name + ' not executed' error_title_list.append(test_name) else: -- 2.30.9