From 3c68c358d872437c375db30922fc5cf7c65de22f Mon Sep 17 00:00:00 2001 From: Rahul Rahul Date: Wed, 1 Jun 2016 11:23:44 -0700 Subject: [PATCH] autotests: fixed scanNetworkWithoutAP after objectManager changes --- autotests/test0AP/scanNetworkWithoutAPTest.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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, "")