Home | History | Annotate | Download | only in cellular_ChromeEndToEnd
      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:cellular_endtoend'
     12 DEPENDENCIES = 'servo'
     13 
     14 DOC = """
     15 Tests that the device auto connects to cellular network..
     16 """
     17 
     18 args_dict = utils.args_to_dict(args)
     19 servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
     20 
     21 def run(machine):
     22     host = hosts.create_host(machine, servo_args=servo_args)
     23     job.run_test('cellular_ChromeEndToEnd',
     24                  host=host,
     25                  raw_cmdline_args=args,
     26                  test='autoconnectCellular')
     27 
     28 parallel_simple(run, machines)
     29