• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_ModemControl.tmobile"
7PURPOSE = "Verify commands sent to a modem manager are reflected in flimflam."
8CRITERIA = """
9This test will fail if modem manager state differs from flimflam state.
10"""
11ATTRIBUTES = "suite:cellular_ota_flaky"
12TIME = "SHORT"
13TEST_CATEGORY = "Functional"
14TEST_CLASS = "network"
15TEST_TYPE = "client"
16DEPENDENCIES = "carrier:tmobile"
17
18DOC = """
19  Tests that commands sent to ModemManager are reflected in flimflam.
20
21  Issues many connect, disconnect, enable, and disable commands to ensure
22  that the modem state is always properly reflected in flimflam -- even
23  if the commands are sent to the modem manager instead of flimflam.
24"""
25
26from autotest_lib.client.cros.cellular import test_environment
27
28test_env = test_environment.CellularOTATestEnvironment()
29job.run_test('cellular_ModemControl', test_env=test_env, autoconnect=False,
30             tag='no-autoconnect')
31job.run_test('cellular_ModemControl', test_env=test_env, autoconnect=True,
32             tag='autoconnect')
33