mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-20 04:19:25 +01:00
autotests: fixed scanNetworkWithoutAP after objectManager changes
This commit is contained in:
parent
7b929181ca
commit
3c68c358d8
@ -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, "")
|
||||
|
Loading…
Reference in New Issue
Block a user