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""" 12ATTRIBUTES = "suite:cellular_pseudomodem" 13TIME = "SHORT" 14TEST_CATEGORY = "Functional" 15TEST_CLASS = "network" 16TEST_TYPE = "client" 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