diff --git a/autotests/test0AP/scanNetworkWithoutAPTest.py b/autotests/test0AP/scanNetworkWithoutAPTest.py index 9aff2606..e8f9f7d8 100755 --- a/autotests/test0AP/scanNetworkWithoutAPTest.py +++ b/autotests/test0AP/scanNetworkWithoutAPTest.py @@ -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, "")