From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.linux.dev
Cc: James Prestwood <prestwoj@gmail.com>
Subject: [PATCH v2 5/6] auto-t: update test to work with PairwiseCiphers array
Date: Fri, 4 Nov 2022 09:37:59 -0700 [thread overview]
Message-ID: <20221104163800.451867-5-prestwoj@gmail.com> (raw)
In-Reply-To: <20221104163800.451867-1-prestwoj@gmail.com>
---
autotests/testAP-no-support/connection_test.py | 2 +-
autotests/testAP/connection_test.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/autotests/testAP-no-support/connection_test.py b/autotests/testAP-no-support/connection_test.py
index d7a13f51..47c06262 100644
--- a/autotests/testAP-no-support/connection_test.py
+++ b/autotests/testAP-no-support/connection_test.py
@@ -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')
diff --git a/autotests/testAP/connection_test.py b/autotests/testAP/connection_test.py
index 53dcfaba..a9135c26 100644
--- a/autotests/testAP/connection_test.py
+++ b/autotests/testAP/connection_test.py
@@ -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)
--
2.34.3
next prev parent reply other threads:[~2022-11-04 16:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 16:37 [PATCH v2 1/6] ap: update Scanning property when AP starts James Prestwood
2022-11-04 16:37 ` [PATCH v2 2/6] auto-t: iwd.py: allow certain APIs to be used in AP mode James Prestwood
2022-11-04 16:37 ` [PATCH v2 3/6] auto-t: add test for scanning " James Prestwood
2022-11-04 16:37 ` [PATCH v2 4/6] ap: change PairwiseCiphers to string array James Prestwood
2022-11-04 16:37 ` James Prestwood [this message]
2022-11-04 16:38 ` [PATCH v2 6/6] doc: document AP properties PairwiseCiphers/GroupCipher James Prestwood
2022-11-04 17:54 ` [PATCH v2 1/6] ap: update Scanning property when AP starts Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221104163800.451867-5-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).