mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-20 09:34:06 +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):
|
class TestScanNetwork(unittest.TestCase):
|
||||||
def test_scanNetwork(self):
|
def test_scanNetwork(self):
|
||||||
logger.info(sys._getframe().f_code.co_name)
|
logger.info(sys._getframe().f_code.co_name)
|
||||||
deviceList = utility.getDeviceList(bus)
|
objectList = utility.getObjectList(bus)
|
||||||
networkList = utility.getNetworkList(deviceList, bus)
|
networkName = utility.getNetworkName(objectList)
|
||||||
networkName = utility.getNetworkName(networkList)
|
|
||||||
# check if networkName is not null. If yes, restart program.
|
# check if networkName is not null. If yes, restart program.
|
||||||
# Alternatively, we can scan for networks.
|
# Alternatively, we can scan for networks.
|
||||||
if networkName == "":
|
if networkName == "":
|
||||||
|
Loading…
Reference in New Issue
Block a user