mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 01:19:23 +01:00
auto-t: add EAP reauth to testEAP
This commit is contained in:
parent
a18c6e10a7
commit
7290989e15
@ -11,6 +11,8 @@ from iwd import PSKAgent
|
|||||||
from hlrauc import AuthCenter
|
from hlrauc import AuthCenter
|
||||||
from ofono import Ofono
|
from ofono import Ofono
|
||||||
from config import ctx
|
from config import ctx
|
||||||
|
from hostapd import HostapdCLI
|
||||||
|
|
||||||
import testutil
|
import testutil
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
@ -50,6 +52,8 @@ class Test(unittest.TestCase):
|
|||||||
testutil.test_iface_operstate()
|
testutil.test_iface_operstate()
|
||||||
testutil.test_ifaces_connected()
|
testutil.test_ifaces_connected()
|
||||||
|
|
||||||
|
self.hostapd.eapol_reauth(device.address)
|
||||||
|
|
||||||
if secrets:
|
if secrets:
|
||||||
wd.unregister_psk_agent(psk_agent)
|
wd.unregister_psk_agent(psk_agent)
|
||||||
|
|
||||||
@ -251,6 +255,7 @@ class Test(unittest.TestCase):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
cls.wd = IWD()
|
cls.wd = IWD()
|
||||||
|
cls.hostapd = HostapdCLI()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
|
Loading…
Reference in New Issue
Block a user