mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
lf_check.py , consolidated naming html_report , report_html
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -174,7 +174,7 @@ class lf_check():
|
|||||||
self.test_rig = "CT-US-NA"
|
self.test_rig = "CT-US-NA"
|
||||||
|
|
||||||
# QA report
|
# QA report
|
||||||
self.qa_html_report = "NA"
|
self.qa_report_html = "NA"
|
||||||
|
|
||||||
# database configuration # database
|
# database configuration # database
|
||||||
self.database_json = ""
|
self.database_json = ""
|
||||||
@@ -996,11 +996,11 @@ QA Report: http://{qa_report_html}
|
|||||||
line_list = open(stdout_log_txt).readlines()
|
line_list = open(stdout_log_txt).readlines()
|
||||||
for line in line_list:
|
for line in line_list:
|
||||||
if 'html report:' in line:
|
if 'html report:' in line:
|
||||||
self.qa_html_report = line
|
self.qa_report_html = line
|
||||||
print("html_report: {report}".format(report=self.qa_html_report))
|
print("html_report: {report}".format(report=self.qa_report_html))
|
||||||
break
|
break
|
||||||
|
|
||||||
self.qa_html_report = self.qa_html_report.replace('html report: ','')
|
self.qa_report_html = self.qa_report_html.replace('html report: ','')
|
||||||
|
|
||||||
|
|
||||||
# stdout_log_link is used for the email reporting to have the corrected path
|
# stdout_log_link is used for the email reporting to have the corrected path
|
||||||
|
|||||||
Reference in New Issue
Block a user