|
|
@ -216,8 +216,9 @@ if __name__ == "__main__": |
|
|
|
elif 'tests' not in action['testAction']['testSuite']: |
|
|
|
elif 'tests' not in action['testAction']['testSuite']: |
|
|
|
continue |
|
|
|
continue |
|
|
|
else: |
|
|
|
else: |
|
|
|
test_cases = action['testAction']['testSuite']['tests'][0][ |
|
|
|
test_cases = [] |
|
|
|
'testSuite']['tests'] |
|
|
|
for tests_item in action['testAction']['testSuite']['tests']: |
|
|
|
|
|
|
|
test_cases += tests_item['testSuite']['tests'] |
|
|
|
for test_case in test_cases: |
|
|
|
for test_case in test_cases: |
|
|
|
if any(s in test_case['testCase'] for s in ['errors', 'failures']): |
|
|
|
if any(s in test_case['testCase'] for s in ['errors', 'failures']): |
|
|
|
result = 'FAILED' |
|
|
|
result = 'FAILED' |
|
|
|