1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = 'wiley, pstew, quiche'
6NAME = 'network_WiFi_SecChange'
7TIME = 'SHORT'
8TEST_TYPE = 'Server'
9ATTRIBUTES = 'suite:wifi_matfunc, suite:wifi_matfunc_bcm4371'
10SUITE = 'wifi_matfunc, wifi_matfunc_bcm4371'
11DEPENDENCIES = 'wificell'
12
13DOC = """
14This test checks that we can connect to a BSS after it changes security modes.
15In particular, we change the security of a BSS from WPA to open and assert that
16we can continue to connect.
17"""
18
19
20def run(machine):
21    host = hosts.create_host(machine)
22    job.run_test('network_WiFi_SecChange',
23                 host=host,
24                 raw_cmdline_args=args)
25
26
27parallel_simple(run, machines)
28