blob: 22a21676be262aa01ae7fa5a4d4d2f842b261ddb [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from autotest_lib.client.common_lib import utils
AUTHOR = 'garnold'
NAME = 'brillo_WifiInterfaceTest'
TEST_CATEGORY = 'Functional'
TEST_TYPE = 'Server'
ATTRIBUTES = 'suite:brillo-bvt'
DOC = """
Tests whether a Brillo device wifi interface is properly configured.
TEST_ARG_NAMES = ('ssid', 'passphrase', 'wifi_iface', 'wifi_ssid')
args_dict = utils.args_to_dict(args)
def run(machine):
test_args = {name: args_dict[name] for name in TEST_ARG_NAMES
if name in args_dict}
job.run_test('brillo_WifiInterfaceTest', host=hosts.create_host(machine),
parallel_simple(run, machines)