233: msg['From'] = 'email@example.com' 250: smtp = smtplib.SMTP('Hostname/IP') 252: smtp.login('firstname.lastname@example.org','password')
You can see actual test files in the /TestON/tests/ folder. Each of the tests has a unique set of files defined below:
py - This is where all of the test cases are written. It calls upon functions implemented in the respective drivers to create a progression of events that produces some sort of pass/fail outcome.
This test uses pingall function to ping all the host in the network. The test is successful if all the hosts are reachable.
- CASE1: Starts up ONOS, from pulling the latest code to running ONOS