def aggregate_tests(registry, xml_parent, data):
 agg = XML.SubElement(xml_parent, 'hudson.tasks.test.AggregatedTestResultPublisher')
 XML.SubElement(agg, 'includeFailedBuilds').text = str(data.get('include-failed-builds', False)).lower()

def aggregate_tests ( registry , xml_parent , data ) : agg = XML . SubElement ( xml_parent , 'hudson.tasks.test.AggregatedTestResultPublisher' ) XML . SubElement ( agg , 'includeFailedBuilds' ) . text = str ( data . get ( 'include-failed-builds' , False ) ) . lower ( )
yaml: aggregate-tests aggregate downstream test results :arg bool include-failed-builds: whether to include failed builds example: .