From 5937bfafcaf094be676be5eccb41c4be1dcef0da Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 5 Jun 2019 14:02:26 -0700 Subject: [PATCH] auto-t: update testFILS to use new HostapdCLI --- autotests/testFILS/fils_256_test.py | 7 +------ autotests/testFILS/fils_384_test.py | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/autotests/testFILS/fils_256_test.py b/autotests/testFILS/fils_256_test.py index 06fbfde3..1894c074 100644 --- a/autotests/testFILS/fils_256_test.py +++ b/autotests/testFILS/fils_256_test.py @@ -17,12 +17,7 @@ import testutil class Test(unittest.TestCase): def test_connection_success(self): - hapd = None - - for intf in hostapd_map.values(): - if intf.config == 'ssidFILS-256.conf': - hapd = HostapdCLI(intf) - break + hapd = HostapdCLI(config='ssidFILS-256.conf') wd = IWD(True) diff --git a/autotests/testFILS/fils_384_test.py b/autotests/testFILS/fils_384_test.py index 8bd8f4a0..09ff0b21 100644 --- a/autotests/testFILS/fils_384_test.py +++ b/autotests/testFILS/fils_384_test.py @@ -17,12 +17,7 @@ import testutil class Test(unittest.TestCase): def test_connection_success(self): - hapd = None - - for intf in hostapd_map.values(): - if intf.config == 'ssidFILS-384.conf': - hapd = HostapdCLI(intf) - break + hapd = HostapdCLI(config='ssidFILS-384.conf') wd = IWD(True)