mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
lf_check.py : information in NA for lf_qa.py links
lf_qa.py : initial work reporting broken links Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -435,11 +435,16 @@ Database: {db}
|
||||
http://{hostname}/{report}""".format(hostname=self.hostname, suite=self.test_suite, db=self.database_sqlite, report=report_url)
|
||||
|
||||
# Put in report information current two methods supported,
|
||||
if "NA" not in self.qa_report_html:
|
||||
message_txt += """
|
||||
QA Report Dashboard:
|
||||
http://{ip_qa}/{qa_url}
|
||||
NOTE: Diagrams are links in dashboard""".format(ip_qa=ip, qa_url=qa_url)
|
||||
|
||||
else:
|
||||
message_txt += """
|
||||
QA Report Dashboard: lf_qa.py was not run as last script of test suite"""
|
||||
|
||||
if (self.email_title_txt != ""):
|
||||
mail_subject = "{email} [{hostname}] {suite} {date}".format(email=self.email_title_txt, hostname=self.hostname,
|
||||
suite=self.test_suite, db=self.database_sqlite, date=datetime.datetime.now())
|
||||
|
||||
@@ -747,8 +747,8 @@ Usage: lf_qa.py --store --png --path <path to directories to traverse> --databas
|
||||
|
||||
report.set_table_title("QA Test Results")
|
||||
report.build_table_title()
|
||||
# report.set_text("lanforge-scripts git sha: {}".format(git_sha))
|
||||
# report.build_text()
|
||||
# report.set_text("QA broken links, check if server correct: {server} example --server 'http:/192.168.0.101/".format(server=__server))
|
||||
report.build_text()
|
||||
html_results = csv_dash.get_html_results()
|
||||
report.set_custom_html(html_results)
|
||||
report.build_custom()
|
||||
|
||||
Reference in New Issue
Block a user