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 5 AUTHOR = "ChromeOS Team" 6 NAME = "network_3GSmokeTest.huawei-me936" 7 PURPOSE = "Verify 3G modem can connect to the network." 8 CRITERIA = """ 9 This 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 """ 13 ATTRIBUTES = "suite:network3g_att, suite:network3g_tmobile" 14 TIME = "SHORT" 15 TEST_CATEGORY = "Functional" 16 TEST_CLASS = "network" 17 TEST_TYPE = "client" 18 DEPENDENCIES = "modem:huawei-me936" 19 DOC = """ 20 Tests that 3G modem can connect to the network 21 22 The test attempts to connect using the 3G network. It assumes that 23 a 3G modem is plugged in and has a signal. The test then 24 disconnects from the network, and verifies that the modem still 25 responds to modem manager DBUS API calls. It repeats the 26 connect/disconnect sequence several times. 27 """ 28 29 from autotest_lib.client.cros.cellular import test_environment 30 31 test_env = test_environment.CellularOTATestEnvironment() 32 job.run_test('network_3GSmokeTest', tag='huawei-me936', test_env=test_env) 33