mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +00:00
lf_check.py : fixed bug in check for tests failed
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user