Merge "Fix return type for addRouteToHost and deleteRoute in hostdriver"
diff --git a/TestON/drivers/common/cli/hostdriver.py b/TestON/drivers/common/cli/hostdriver.py
index 5bfe274..c2d80ed 100644
--- a/TestON/drivers/common/cli/hostdriver.py
+++ b/TestON/drivers/common/cli/hostdriver.py
@@ -294,7 +294,7 @@
return main.FALSE
output += self.handle.before + self.handle.after
main.log.debug( output )
- return self.handle.before
+ return main.TRUE
except pexpect.EOF:
main.log.error( self.name + ": EOF exception found" )
main.log.error( self.name + ": " + self.handle.before )
@@ -347,7 +347,7 @@
return main.FALSE
output += self.handle.before + self.handle.after
main.log.debug( output )
- return self.handle.before
+ return main.TRUE
except pexpect.EOF:
main.log.error( self.name + ": EOF exception found" )
main.log.error( self.name + ": " + self.handle.before )