Skip to content

Commit f2e740e

Browse files
committed
fixed expected output for access point without encryption
1 parent af785bc commit f2e740e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

tests/airos/test_wpasupplicant.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,18 @@ def test_no_encryption(self):
228228

229229
expected = [
230230
{
231+
'status': 'enabled',
232+
},
233+
{
234+
'device.1.profile': 'AUTO',
235+
'device.1.status': 'enabled',
236+
'profile.1.network.1.priority': 100,
231237
'profile.1.network.1.ssid': 'ap-ssid-example',
232238
'profile.1.network.1.key_mgmt.1.name': 'NONE',
233239
'profile.1.network.2.key_mgmt.1.name': 'NONE',
234240
'profile.1.network.2.priority': 2,
235241
'profile.1.network.2.status': 'disabled',
236242
},
237-
{
238-
'status': 'enabled',
239-
}
240243
]
241244

242245
self.assertEqualConfig(o.intermediate_data['wpasupplicant'], expected)

0 commit comments

Comments
 (0)