mirror of https://github.com/Icinga/icinga2.git
Fix that the vm-test-runner is not using the new result attributes
This commit is contained in:
parent
b39b241591
commit
7c280bcfff
|
@ -85,6 +85,14 @@ class TestSuite(object):
|
|||
testresult.setAttribute('classname', 'vm')
|
||||
testresult.setAttribute('name', name)
|
||||
|
||||
totaltests = document.createElement('tests')
|
||||
totaltests.appendChild(document.createTextNode(str(info['total'])))
|
||||
testresult.appendChild(totaltests)
|
||||
|
||||
failedtests = document.createElement('failures')
|
||||
failedtests.appendChild(document.createTextNode(str(info['failures'])))
|
||||
testresult.appendChild(failedtests)
|
||||
|
||||
systemout = document.createElement('system-out')
|
||||
systemout.appendChild(document.createTextNode(info['stdout']))
|
||||
testresult.appendChild(systemout)
|
||||
|
|
Loading…
Reference in New Issue