Commit e4b9310b authored by Vincent Bechu's avatar Vincent Bechu Committed by Klaus Wölfel

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

/reviewed-on !346
parent 6feddd69
...@@ -188,7 +188,7 @@ class FunctionalTestRunner: ...@@ -188,7 +188,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:
...@@ -198,7 +198,6 @@ class FunctionalTestRunner: ...@@ -198,7 +198,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