Skip to content

Commit d203d8e

Browse files
committed
[airos] updated expected result for wpa2_enterprise in access point
1 parent 0eb11f3 commit d203d8e

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

tests/airos/test_wpasupplicant.py

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -341,28 +341,14 @@ def test_eap_wpa2_enterprise(self):
341341
o.to_intermediate()
342342
expected = [
343343
{
344-
'device.1.devname': 'radio0',
345-
'device.1.driver': 'madwifi',
346-
'device.1.profile': 'AUTO',
347-
'device.1.status': 'enabled',
348-
'profile.1.name': 'AUTO',
349-
'profile.1.network.1.anonymous_identity': 'TODO',
350-
'profile.1.network.1.eap.1.name': 'TTLS',
351-
'profile.1.network.1.eap.1.status': 'enabled',
352-
'profile.1.network.1.identity': 'TODO',
353-
'profile.1.network.1.key_mgmt.1.name': 'WPA-EAP',
354-
'profile.1.network.1.pairwise.1.name': 'CCMP',
355-
'profile.1.network.1.password': 'TODO',
356-
'profile.1.network.1.phase2=auth': 'MSCHAPV2',
357-
'profile.1.network.1.priority': 100,
358-
'profile.1.network.1.proto.1.name': 'RSN',
344+
'status': 'disabled',
345+
},
346+
{
347+
'device.1.status': 'disabled',
359348
'profile.1.network.1.ssid': 'ap-ssid-example',
360349
'profile.1.network.2.key_mgmt.1.name': 'NONE',
361350
'profile.1.network.2.priority': 2,
362351
'profile.1.network.2.status': 'disabled',
363352
},
364-
{
365-
'status': 'enabled',
366-
},
367353
]
368354
self.assertEqualConfig(o.intermediate_data['wpasupplicant'], expected)

0 commit comments

Comments
 (0)