diff --git a/py-scripts/tools/lf_check.py b/py-scripts/tools/lf_check.py index 06ad0fa8..d1bfc8a2 100755 --- a/py-scripts/tools/lf_check.py +++ b/py-scripts/tools/lf_check.py @@ -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, - message_txt += """ + 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()) diff --git a/py-scripts/tools/lf_qa.py b/py-scripts/tools/lf_qa.py index 0e332ddc..59625cd9 100755 --- a/py-scripts/tools/lf_qa.py +++ b/py-scripts/tools/lf_qa.py @@ -747,8 +747,8 @@ Usage: lf_qa.py --store --png --path --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()