Skip to content

Commit b8c5fe6

Browse files
committed
[airos] drafted configuration input for peap in wpa2_enterprise in test
1 parent cd9efa4 commit b8c5fe6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/airos/test_wpasupplicant.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,30 @@ def test_wpa2_enterprise(self):
176176

177177
@skip("target later")
178178
def test_peap_wpa2_enterprise(self):
179+
180+
o = self.backend({
181+
"interfaces": [
182+
{
183+
"type": "wireless",
184+
"name": "wlan0",
185+
"mac": "de:9f:db:30:c9:c5",
186+
"mtu": 1500,
187+
"txqueuelen": 1000,
188+
"wireless": {
189+
"radio": "radio0",
190+
"mode": "station",
191+
"ssid": "ap-ssid-example",
192+
"encryption": {
193+
"protocol": "wpa2_enterprise",
194+
"server": "radius.example.com",
195+
"key": "the-shared-key",
196+
"acct_server": "accounting.example.com",
197+
},
198+
},
199+
}
200+
]
201+
})
202+
o.to_intermediate()
179203
expected = [
180204
{
181205
'device.1.devname': 'radio0',

0 commit comments

Comments
 (0)