Skip to content

Commit

Permalink
[airos] updated expected result for wpa2_enterprise in access point
Browse files Browse the repository at this point in the history
  • Loading branch information
edoput committed Aug 8, 2017
1 parent 0eb11f3 commit d203d8e
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions tests/airos/test_wpasupplicant.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,28 +341,14 @@ def test_eap_wpa2_enterprise(self):
o.to_intermediate()
expected = [
{
'device.1.devname': 'radio0',
'device.1.driver': 'madwifi',
'device.1.profile': 'AUTO',
'device.1.status': 'enabled',
'profile.1.name': 'AUTO',
'profile.1.network.1.anonymous_identity': 'TODO',
'profile.1.network.1.eap.1.name': 'TTLS',
'profile.1.network.1.eap.1.status': 'enabled',
'profile.1.network.1.identity': 'TODO',
'profile.1.network.1.key_mgmt.1.name': 'WPA-EAP',
'profile.1.network.1.pairwise.1.name': 'CCMP',
'profile.1.network.1.password': 'TODO',
'profile.1.network.1.phase2=auth': 'MSCHAPV2',
'profile.1.network.1.priority': 100,
'profile.1.network.1.proto.1.name': 'RSN',
'status': 'disabled',
},
{
'device.1.status': 'disabled',
'profile.1.network.1.ssid': 'ap-ssid-example',
'profile.1.network.2.key_mgmt.1.name': 'NONE',
'profile.1.network.2.priority': 2,
'profile.1.network.2.status': 'disabled',
},
{
'status': 'enabled',
},
]
self.assertEqualConfig(o.intermediate_data['wpasupplicant'], expected)

0 comments on commit d203d8e

Please sign in to comment.