autotests: fixed scanNetwork after objectManager changes

This commit is contained in:
Rahul Rahul 2016-06-01 11:23:46 -07:00 committed by Denis Kenzior
parent 149eff1c71
commit 0976f3cee4
1 changed files with 2 additions and 3 deletions

View File

@ -13,9 +13,8 @@ import utility
class TestScanNetwork(unittest.TestCase):
def test_scanNetwork(self):
logger.info(sys._getframe().f_code.co_name)
deviceList = utility.getDeviceList(bus)
networkList = utility.getNetworkList(deviceList, bus)
networkName = utility.getNetworkName(networkList)
objectList = utility.getObjectList(bus)
networkName = utility.getNetworkName(objectList)
# check if networkName is not null. If yes, restart program.
# Alternatively, we can scan for networks.
if networkName == "":