Example #1
0
def report_execution_static_html_download(project, suite, execution):
    html_report_string = html_report.get_or_generate_html_report(
        project, suite, execution)
    headers = {
        'Content-disposition': 'attachment; filename={}'.format('report.html')
    }
    return Response(html_report_string, mimetype='text/html', headers=headers)
Example #2
0
def report_execution_static_html_no_images_download(project, execution,
                                                    timestamp):
    html_report_string = html_report.get_or_generate_html_report(
        project, execution, timestamp, no_images=True)
    headers = {
        'Content-disposition': 'attachment; filename=report-no-images.html'
    }
    return Response(html_report_string, mimetype='text/html', headers=headers)
Example #3
0
def report_execution_static_html_no_images(project, suite, execution):
    html_report_string = html_report.get_or_generate_html_report(
        project, suite, execution, no_images=True)
    return html_report_string
Example #4
0
def report_execution_static_html(project, suite, execution):
    html_report_string = html_report.get_or_generate_html_report(
        project, suite, execution)
    return html_report_string
Example #5
0
def report_execution_static_html(project, execution, timestamp):
    return html_report.get_or_generate_html_report(project, execution,
                                                   timestamp)