1# Copyright 2017 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 = "ChromeOS Team" 6NAME = "cellular_Smoke.tmobile" 7PURPOSE = "Verify 3G modem can connect to the network." 8CRITERIA = """ 9This test will fail if one of the following conditions occur: 10 - 3G modem fails to connect to network 11 - the modem is not left in a working state 12""" 13ATTRIBUTES = "suite:cellular_ota" 14TIME = "SHORT" 15TEST_CATEGORY = "Functional" 16TEST_CLASS = "network" 17TEST_TYPE = "client" 18DEPENDENCIES = "carrier:tmobile" 19PY_VERSION = 3 20JOB_RETRIES=1 21 22DOC = """ 23 Tests that 3G modem can connect to the network 24 25 The test attempts to connect using the 3G network. It assumes that 26 a 3G modem is plugged in and has a signal. The test then 27 disconnects from the network, and verifies that the modem still 28 responds to modem manager DBUS API calls. It repeats the 29 connect/disconnect sequence several times. 30""" 31 32from autotest_lib.client.cros.cellular import test_environment 33 34test_env = test_environment.CellularOTATestEnvironment() 35job.run_test('cellular_Smoke', test_env=test_env) 36