def generateHTML(description, result):
    """Generates an HTML table row for the result of a test.

    Args:
        description (str): Description of the test.
        result (boolean): True for success, False for fail.
    Returns:
        (str) HTML table row tag with result data.
    """
    html  = '      <tr>\n'
    html += '        <td>' + description + '</td>\n'
    if result:
        html += '        <td class="ok">OK</td>\n'
    else:
        html += '        <td class="fail">FAIL</td>\n'
    html += '      </tr>\n'
    return html