3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-16 17:09:24 +01:00

auto-t: add auth/assoc timeouts to testOWE

This commit is contained in:
James Prestwood 2021-04-05 15:40:27 -07:00 committed by Denis Kenzior
parent b8da948caf
commit 01acadbeb9

View File

@ -45,6 +45,14 @@ class Test(unittest.TestCase):
rule0.source = bss_radio.addresses[0] rule0.source = bss_radio.addresses[0]
rule0.bidirectional = True rule0.bidirectional = True
rule0.drop = True rule0.drop = True
rule0.prefix = 'b0'
# Test Authenticate (b0) and Association (00) timeouts
with self.assertRaises(iwd.FailedEx):
ordered_network.network_object.connect()
rule0.prefix = '00'
with self.assertRaises(iwd.FailedEx): with self.assertRaises(iwd.FailedEx):
ordered_network.network_object.connect() ordered_network.network_object.connect()