• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2015 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 = 'zqiu, wiley, pstew'
6NAME = 'apmanager_SimpleConnect.bridge'
7TIME = 'SHORT'
8TEST_TYPE = 'Server'
9DEPENDENCIES = 'wificell'
10
11DOC = """
12This test verifies that DUT can connect to an WiFi network configured in bridge
13mode.
14"""
15
16from autotest_lib.client.common_lib.cros.network import apmanager_constants
17
18def run(machine):
19    # Bridge mode configuration.
20    configurations = {apmanager_constants.CONFIG_OPERATION_MODE: \
21                              apmanager_constants.OPERATION_MODE_BRIDGE}
22    host = hosts.create_host(machine)
23    job.run_test('apmanager_SimpleConnect',
24                 host=host,
25                 raw_cmdline_args=args,
26                 additional_params=configurations)
27
28
29parallel_simple(run, machines)
30