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

auto-t: update test to work with PairwiseCiphers array

This commit is contained in:
James Prestwood 2022-11-04 09:37:59 -07:00 committed by Denis Kenzior
parent 55924fbb56
commit ee850422ba
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ class Test(unittest.TestCase):
dev_ap.start_ap('TestAP2', 'Password2')
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')

View File

@ -60,7 +60,7 @@ class Test(unittest.TestCase):
dev1.start_ap('TestAP2')
self.assertTrue(dev1.group_cipher == group)
self.assertTrue(dev1.pairwise_ciphers == pairwise)
self.assertIn(pairwise, dev1.pairwise_ciphers)
try:
validate(wd, dev2, dev1, 'TestAP2', 'Password2', ip_checks=False)