3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

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

View File

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