autotests: fixed scanNetworkWithoutAP after objectManager changes

This commit is contained in:
Rahul Rahul 2016-06-01 11:23:44 -07:00 committed by Denis Kenzior
parent 7b929181ca
commit 3c68c358d8
1 changed files with 2 additions and 3 deletions

View File

@ -14,9 +14,8 @@ class TestScanNetworkWithoutAP(unittest.TestCase):
def test_scanNetworkWithoutAP(self): def test_scanNetworkWithoutAP(self):
logger.info(sys._getframe().f_code.co_name) logger.info(sys._getframe().f_code.co_name)
# scan and get network name # scan and get network name
deviceList = utility.getDeviceList(bus) objectList = utility.getObjectList(bus)
networkList = utility.getNetworkList(deviceList, bus) networkName = utility.getNetworkName(objectList)
networkName = utility.getNetworkName(networkList)
logger.info("Network Found: %s", networkName) logger.info("Network Found: %s", networkName)
# should not find any network since hostapd is not running. # should not find any network since hostapd is not running.
self.assertEqual(networkName, "") self.assertEqual(networkName, "")