mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
auto-t: update test to work with PairwiseCiphers array
This commit is contained in:
parent
55924fbb56
commit
ee850422ba
@ -27,7 +27,7 @@ class Test(unittest.TestCase):
|
|||||||
dev_ap.start_ap('TestAP2', 'Password2')
|
dev_ap.start_ap('TestAP2', 'Password2')
|
||||||
|
|
||||||
self.assertTrue(dev_ap.group_cipher == 'TKIP')
|
self.assertTrue(dev_ap.group_cipher == 'TKIP')
|
||||||
self.assertTrue(dev_ap.pairwise_ciphers == 'TKIP')
|
self.assertIn('TKIP', dev_ap.pairwise_ciphers)
|
||||||
|
|
||||||
ordered_network = dev_sta.get_ordered_network('TestAP2')
|
ordered_network = dev_sta.get_ordered_network('TestAP2')
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ class Test(unittest.TestCase):
|
|||||||
dev1.start_ap('TestAP2')
|
dev1.start_ap('TestAP2')
|
||||||
|
|
||||||
self.assertTrue(dev1.group_cipher == group)
|
self.assertTrue(dev1.group_cipher == group)
|
||||||
self.assertTrue(dev1.pairwise_ciphers == pairwise)
|
self.assertIn(pairwise, dev1.pairwise_ciphers)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
validate(wd, dev2, dev1, 'TestAP2', 'Password2', ip_checks=False)
|
validate(wd, dev2, dev1, 'TestAP2', 'Password2', ip_checks=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user