lf_check.py : fixed bug in check for tests failed

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-11-17 12:56:39 -07:00
parent f70ea39f1f
commit 505c21de1f

View File

@@ -1007,8 +1007,8 @@ NOTE: Diagrams are links in dashboard""".format(ip_qa=ip, qa_url=qa_url)
elif 'error ' in text.lower():
self.test_result = "Test Errors"
background = self.background_red
elif 'tests failed':
self.test_result = "Tests Failed"
elif 'tests failed' in text.lower():
self.test_result = "Some Tests Failed"
background = self.background_orange
else:
self.test_result = "Success"