##// END OF EJS Templates
run-tests: set attributes in sorted order...
Gregory Szorc -
r41687:20e62312 default
parent child Browse files
Show More
@@ -2378,12 +2378,12 b' class TextTestRunner(unittest.TextTestRu'
2378 2378 timesd = dict((t[0], t[3]) for t in result.times)
2379 2379 doc = minidom.Document()
2380 2380 s = doc.createElement('testsuite')
2381 s.setAttribute('name', 'run-tests')
2382 s.setAttribute('tests', str(result.testsRun))
2383 2381 s.setAttribute('errors', "0") # TODO
2384 2382 s.setAttribute('failures', str(len(result.failures)))
2383 s.setAttribute('name', 'run-tests')
2385 2384 s.setAttribute('skipped', str(len(result.skipped) +
2386 2385 len(result.ignored)))
2386 s.setAttribute('tests', str(result.testsRun))
2387 2387 doc.appendChild(s)
2388 2388 for tc in result.successes:
2389 2389 t = doc.createElement('testcase')
General Comments 0
You need to be logged in to leave comments. Login now