commit 5937bfafcaf094be676be5eccb41c4be1dcef0da parent 35f06ef87aa100aa53521c3c68ef9c1bde506ad1 Author: James Prestwood <james.prestwood@linux.intel.com> Date: Wed, 5 Jun 2019 14:02:26 -0700 auto-t: update testFILS to use new HostapdCLI Diffstat:
| M | autotests/testFILS/fils_256_test.py | | | 7 | +------ |
| M | 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 @@ -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 @@ -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)