xref: /aosp_15_r20/external/autotest/client/site_tests/cellular_Identifiers/control.pseudomodem (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
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 = "cellular_Identifiers.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"""
12TIME = "SHORT"
13TEST_CATEGORY = "Functional"
14TEST_CLASS = "network"
15TEST_TYPE = "client"
16PY_VERSION = 3
17DOC = """
18  Tests that a cellular modem provides correct identification information
19
20  The test queries the modem for the following identifiers:
21    - MEID
22    - IMEI
23    - IMSI
24    - ICCID
25    - SIM operator ID
26"""
27
28import os
29
30from autotest_lib.client.cros.cellular import test_environment
31
32test_module_path = os.path.join(
33        job.testdir, 'cellular_Identifiers', 'cellular_Identifiers.py')
34test_env = test_environment.CellularPseudoMMTestEnvironment(
35        pseudomm_args=({'family': '3GPP',
36                        'test-module' : test_module_path,
37                        'test-sim-class' : 'TestSIM'},))
38job.run_test('cellular_Identifiers',  tag='pseudomodem', test_env=test_env)
39