Commit a9f9e660 authored by Vincent Bechu's avatar Vincent Bechu

[product/ERP5Type: remove useless parameter failure in ERP5TypeFunctionalTestCase.py

/reviewed-on nexedi/erp5!346
parent 2be7c01f
...@@ -186,7 +186,7 @@ class FunctionalTestRunner: ...@@ -186,7 +186,7 @@ class FunctionalTestRunner:
def processResult(self, iframe): def processResult(self, iframe):
tbody = iframe.xpath('.//body/table/tbody')[0] 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 = [] error_title_list = []
detail = "" detail = ""
for tr in tbody: for tr in tbody:
...@@ -196,7 +196,6 @@ class FunctionalTestRunner: ...@@ -196,7 +196,6 @@ class FunctionalTestRunner:
error = False error = False
if len(tr) == 1: if len(tr) == 1:
# Test was not executed # Test was not executed
failure += 1
detail += 'Test ' + test_name + ' not executed' detail += 'Test ' + test_name + ' not executed'
error_title_list.append(test_name) error_title_list.append(test_name)
else: else:
......
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