From 1561392614bf85f83a275f27d906a34b69edd131 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 5 Jun 2019 14:02:27 -0700 Subject: [PATCH] auto-t: update testOWE to use new HostapdCLI --- autotests/testOWE/connection_test.py | 5 +---- autotests/testOWE/renegotiate_test.py | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/autotests/testOWE/connection_test.py b/autotests/testOWE/connection_test.py index 1ff433c7..e4482bc0 100644 --- a/autotests/testOWE/connection_test.py +++ b/autotests/testOWE/connection_test.py @@ -14,10 +14,7 @@ import testutil class Test(unittest.TestCase): def test_connection_success(self): - for intf in hostapd_map.values(): - if intf.config == 'ssidOWE.conf': - hapd = HostapdCLI(intf) - break + hapd = HostapdCLI(config='ssidOWE.conf') wd = IWD() diff --git a/autotests/testOWE/renegotiate_test.py b/autotests/testOWE/renegotiate_test.py index 007538f7..57705a59 100644 --- a/autotests/testOWE/renegotiate_test.py +++ b/autotests/testOWE/renegotiate_test.py @@ -14,10 +14,7 @@ import testutil class Test(unittest.TestCase): def test_connection_success(self): - for intf in hostapd_map.values(): - if intf.config == 'ssidGroup20.conf': - hapd = HostapdCLI(intf) - break + hapd = HostapdCLI(config='ssidGroup20.conf') wd = IWD()