lf_qa.py : formatting of output

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-08-11 09:39:08 -06:00
parent 43b417f211
commit 9bf9b2e718

View File

@@ -423,17 +423,7 @@ Example: kpi_csv_sq.py --store --png --show --path <path to read kpi.csv> (read
print("dut_info_df {}".format(dut_info_df))
report.set_table_dataframe(dut_info_df)
report.build_table()
# links table for tests TODO : can this be a table
report.set_table_title("Test Suite")
report.build_table_title()
suite_html = csv_dash.get_suite_html()
print("suite_html {}".format(suite_html))
report.set_custom_html(suite_html)
report.build_custom()
test_rig_list = csv_dash.get_test_rig_list()
report.set_table_title("Test Rig: {} Links".format(test_rig_list[-1])) # keep the list, currently one test bed results
report.build_table_title()
@@ -450,6 +440,14 @@ Example: kpi_csv_sq.py --store --png --show --path <path to read kpi.csv> (read
report_parent_path = __server + report_parent_path.replace('/home/lanforge/','')
report.build_link("All Test-Rig Test Suites Results Directory",report_parent_path)
# links table for tests TODO : can this be a table
report.set_table_title("Test Suite")
report.build_table_title()
suite_html = csv_dash.get_suite_html()
print("suite_html {}".format(suite_html))
report.set_custom_html(suite_html)
report.build_custom()
report.set_table_title("QA Test Results")
report.build_table_title()
# report.set_text("lanforge-scripts git sha: {}".format(git_sha))