THCI: getChildTimeoutValue() should return integer type (#968)

This commit is contained in:
rongli
2016-11-14 08:37:14 +08:00
committed by Jonathan Hui
parent 0254cde986
commit ca04d4e489
+2 -1
View File
@@ -1841,7 +1841,8 @@ class ARM(IThci):
def getChildTimeoutValue(self):
"""get child timeout"""
print '%s call getChildTimeoutValue' % self.port
return self.__sendCommand('childtimeout')[0]
childTimeout = self.__sendCommand('childtimeout')[0]
return int(childTimeout)
def diagnosticGet(self, strDestinationAddr, listTLV_ids=[]):
if not listTLV_ids: