autotest: Make interop tests work on WpaCliProxy hosts
Since wpa_cli hosts don't have profiles, we can't manipulate profiles to
create a clean test context. Add a method init_test_network_state which
abstracts these details into platform specific operations.
The shill XMLRPC delegate simply returns False when it is unable to
disconnect from a given ssid. WpaCliProxy should do likewise rather
than complaining about missing keys in its created networks list.
TEST=Interop tests work against WpaCliProxy based hosts.
check11b still passes on a normal host.
Tested-by: Christopher Wiley <firstname.lastname@example.org>
Reviewed-by: Paul Stewart <email@example.com>
Commit-Queue: Christopher Wiley <firstname.lastname@example.org>
4 files changed