mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-20 01:14:07 +01:00
autotests: fixed scanNetwork after objectManager changes
This commit is contained in:
parent
149eff1c71
commit
0976f3cee4
@ -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 == "":
|
||||
|
Loading…
Reference in New Issue
Block a user