• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2013 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 = "network_3GIdentifiers.pseudomodem"
7PURPOSE = "Verify cellular modem provides correct identification information."
8CRITERIA = """
9This test will fail if one of the following conditions occur:
10  - Cellular modem does not provide an identifier
11"""
12ATTRIBUTES = "suite:network3g_pseudomodem"
13SUITE = "network3g_pseudomodem"
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "network"
17TEST_TYPE = "client"
18DOC = """
19  Tests that a cellular modem provides correct identification information
20
21  The test queries the modem for the following identifiers:
22    - MEID
23    - IMEI
24    - IMSI
25    - ICCID
26    - SIM operator ID
27"""
28
29import os
30
31from autotest_lib.client.cros.cellular import test_environment
32
33test_module_path = os.path.join(
34        job.testdir, 'network_3GIdentifiers', 'network_3GIdentifiers.py')
35test_env = test_environment.CellularPseudoMMTestEnvironment(
36        pseudomm_args=({'family': '3GPP',
37                        'test-module' : test_module_path,
38                        'test-sim-class' : 'TestSIM'},))
39job.run_test('network_3GIdentifiers',  tag='pseudomodem', test_env=test_env)
40