mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-25 16:12:47 +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 ofono import Ofono
|
||||
from config import ctx
|
||||
from hostapd import HostapdCLI
|
||||
|
||||
import testutil
|
||||
import traceback
|
||||
|
||||
@ -50,6 +52,8 @@ class Test(unittest.TestCase):
|
||||
testutil.test_iface_operstate()
|
||||
testutil.test_ifaces_connected()
|
||||
|
||||
self.hostapd.eapol_reauth(device.address)
|
||||
|
||||
if secrets:
|
||||
wd.unregister_psk_agent(psk_agent)
|
||||
|
||||
@ -251,6 +255,7 @@ class Test(unittest.TestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.wd = IWD()
|
||||
cls.hostapd = HostapdCLI()
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
|
Loading…
Reference in New Issue
Block a user