1 # Copyright (c) 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 5 from autotest_lib.server import utils 6 7 AUTHOR = 'harpreet' 8 TIME = 'SHORT' 9 NAME = 'cellular_ChromeEndToEnd.autoconnectCellular' 10 TEST_TYPE = 'Server' 11 ATTRIBUTES = ('suite:network3g_att, suite:network3g_tmobile,' 12 'suite:network3g_verizon, suite:network3g') 13 SUITE = 'network3g_att, network3g_tmobile, network3g_verizon, network3g' 14 DEPENDENCIES = 'servo' 15 16 DOC = """ 17 Tests that the device auto connects to cellular network.. 18 """ 19 20 args_dict = utils.args_to_dict(args) 21 servo_args = hosts.CrosHost.get_servo_arguments(args_dict) 22 23 def run(machine): 24 host = hosts.create_host(machine, servo_args=servo_args) 25 job.run_test('cellular_ChromeEndToEnd', 26 host=host, 27 raw_cmdline_args=args, 28 test='autoconnectCellular') 29 30 parallel_simple(run, machines) 31