def METHOD_NAME(self):
    errors = [':WARNING:', 'other']
    assert utils.xml_error(errors) == 'other'
    assert utils.xml_error(errors, m='other') == 'other'
    assert utils.xml_error(errors, m='kaka') == ''