diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-03-12 15:13:33 +0100 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-03-12 15:13:33 +0100 |
| commit | dd428301eb6f02542015121d7b08d9997f137e50 (patch) | |
| tree | 5530189f63510287d65268fc36025bdbc9414c00 /clients/tests/test-client.py | |
| parent | bbae86d3d2997a853ca0365e8eb7a3ca7489ee09 (diff) | |
New upstream version 1.15.91
Diffstat (limited to 'clients/tests/test-client.py')
| -rwxr-xr-x | clients/tests/test-client.py | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py index fee874ba..c7d5c958 100755 --- a/clients/tests/test-client.py +++ b/clients/tests/test-client.py @@ -807,11 +807,23 @@ class TestNmcli(NmTestBase): iface = 'wlan1') self.srv.op_AddObj('WifiAp', - device = 'wlan0') + device = 'wlan0', + rsnf = 0x0) + self.srv.op_AddObj('WifiAp', device = 'wlan0') + + NM_AP_FLAGS = getattr(NM, '80211ApSecurityFlags') + rsnf = 0x0 + rsnf = rsnf | NM_AP_FLAGS.PAIR_TKIP + rsnf = rsnf | NM_AP_FLAGS.PAIR_CCMP + rsnf = rsnf | NM_AP_FLAGS.GROUP_TKIP + rsnf = rsnf | NM_AP_FLAGS.GROUP_CCMP + rsnf = rsnf | NM_AP_FLAGS.KEY_MGMT_SAE self.srv.op_AddObj('WifiAp', - device = 'wlan0') + device = 'wlan0', + wpaf = 0x0, + rsnf = rsnf) self.srv.op_AddObj('WifiAp', device = 'wlan1') |