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 5 AUTHOR = 'pstew, wiley, quiche' 6 NAME = 'network_WiFi_DisableEnable' 7 TIME = 'SHORT' 8 TEST_TYPE = 'Server' 9 ATTRIBUTES = ('suite:wifi_matfunc, suite:wifi_matfunc_noservo,' 10 'suite:wifi_matfunc_bcm4371, suite:wificell-pre-cq') 11 DEPENDENCIES = 'wificell' 12 13 DOC = """ 14 This test attempts to verify that we can disable and enable the WiFi 15 device and it will re-connect to the AP it was previously connected to. 16 """ 17 18 def run(machine): 19 host = hosts.create_host(machine) 20 job.run_test('network_WiFi_DisableEnable', host=host, raw_cmdline_args=args) 21 22 23 parallel_simple(run, machines) 24