Avoid errors from empty variables
- Make sure vairables are initialized as empty maps instead of None
- Fix some style issues
Change-Id: I39d3bea85af25e264ee560f7ceba492adc364887
diff --git a/TestON/tests/dependencies/ONOSSetup.py b/TestON/tests/dependencies/ONOSSetup.py
index af113f7..fabfe9a 100644
--- a/TestON/tests/dependencies/ONOSSetup.py
+++ b/TestON/tests/dependencies/ONOSSetup.py
@@ -442,7 +442,8 @@
for ctrl in main.Cluster.active():
main.log.debug( "{} components not ACTIVE: \n{}".format(
ctrl.name,
- ctrl.CLI.sendline( "onos:scr-list | grep -v ACTIVE" ) ) ) #FIXME: This output has changed a lot
+ # FIXME: This output has changed a lot
+ ctrl.CLI.sendline( "onos:scr-list | grep -v ACTIVE" ) ) )
main.log.error( "Failed to start ONOS, stopping test" )
main.cleanAndExit( msg="Failed to start ONOS: not all nodes are in READY state" )
return main.TRUE