Browse Source

tests: Use shorter Interworking element for larger coverage

Since the venue information in the Interworking element is optional,
include both the cases of it included and not included in the test
cases.

Signed-hostap: Jouni Malinen <j@w1.fi>
Jouni Malinen 11 years ago
parent
commit
8175854e6e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/hwsim/test_ap_hs20.py

+ 2 - 0
tests/hwsim/test_ap_hs20.py

@@ -149,6 +149,8 @@ def test_ap_interworking_scan_filtering(dev, apdev):
     params['ssid'] = ssid2
     params['hessid'] = bssid2
     params['access_network_type'] = "1"
+    del params['venue_group']
+    del params['venue_type']
     hostapd.add_ap(apdev[1]['ifname'], params)
 
     dev[0].request("SET ignore_old_scan_res 1")