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 5 AUTHOR = "ChromeOS Team" 6 NAME = "network_3GIdentifiers.pseudomodem" 7 PURPOSE = "Verify cellular modem provides correct identification information." 8 CRITERIA = """ 9 This test will fail if one of the following conditions occur: 10 - Cellular modem does not provide an identifier 11 """ 12 ATTRIBUTES = "suite:network3g_pseudomodem" 13 TIME = "SHORT" 14 TEST_CATEGORY = "Functional" 15 TEST_CLASS = "network" 16 TEST_TYPE = "client" 17 DOC = """ 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 28 import os 29 30 from autotest_lib.client.cros.cellular import test_environment 31 32 test_module_path = os.path.join( 33 job.testdir, 'network_3GIdentifiers', 'network_3GIdentifiers.py') 34 test_env = test_environment.CellularPseudoMMTestEnvironment( 35 pseudomm_args=({'family': '3GPP', 36 'test-module' : test_module_path, 37 'test-sim-class' : 'TestSIM'},)) 38 job.run_test('network_3GIdentifiers', tag='pseudomodem', test_env=test_env) 39