@@ -164,8 +164,34 @@ def test_wpa2_enterprise(self):
164164 'profile.1.network.1.priority' : 100 ,
165165 'profile.1.network.1.proto.1.name' : 'RSN' ,
166166 'profile.1.network.1.ssid' : 'ap-ssid-example' ,
167- 'profile.1.network.1.priority' : 100 ,
167+ 'profile.1.network.2.key_mgmt.1.name' : 'NONE' ,
168+ 'profile.1.network.2.priority' : 2 ,
169+ 'profile.1.network.2.status' : 'disabled' ,
170+ },
171+ {
172+ 'status' : 'enabled' ,
173+ },
174+ ]
175+ self .assertEqualConfig (o .intermediate_data ['wpasupplicant' ], expected )
176+
177+ @skip ("target later" )
178+ def test_peap_wpa2_enterprise (self ):
179+ expected = [
180+ {
181+ 'device.1.devname' : 'radio0' ,
182+ 'device.1.driver' : 'madwifi' ,
183+ 'device.1.profile' : 'AUTO' ,
184+ 'device.1.status' : 'enabled' ,
185+ 'profile.1.network.1.eap.1.name' : 'PEAP' ,
186+ 'profile.1.network.1.eap.1.status' : 'enabled' ,
187+ 'profile.1.network.1.identity' : 'definitely-fake-identity' ,
168188 'profile.1.network.1.key_mgmt.1.name' : 'WPA-EAP' ,
189+ 'profile.1.network.1.pairwise.1.name' : 'CCMP' ,
190+ 'profile.1.network.1.password' : 'password1234' ,
191+ 'profile.1.network.1.phase2=auth' : 'MSCHAPV2' ,
192+ 'profile.1.network.1.priority' : 100 ,
193+ 'profile.1.network.1.proto.1.name' : 'RSN' ,
194+ 'profile.1.network.1.ssid' : 'ap-ssid-example' ,
169195 'profile.1.network.2.key_mgmt.1.name' : 'NONE' ,
170196 'profile.1.network.2.priority' : 2 ,
171197 'profile.1.network.2.status' : 'disabled' ,
0 commit comments