1 # Copyright (c) 2014 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 = "cellular_OutOfCreditsSubscriptionState.pseudomodem" 7 PURPOSE = "Verify shill out-of-credits behavior using subscription state." 8 CRITERIA = """ 9 This test will fail if one of the following conditions occurs: 10 - Shill does not mark a cellular service as out-of-credits when the modem 11 reports it as so. 12 - Shill does not clear the out-of-credits flag when the subscription state 13 transitions to provisioned after being out-of-credits. 14 """ 15 ATTRIBUTES = "suite:cellular_pseudomodem" 16 TIME = "SHORT" 17 TEST_CATEGORY = "Functional" 18 TEST_CLASS = "network" 19 TEST_TYPE = "client" 20 DOC = """ 21 Tests that shill marks a cellular service as out-of-credits according to the 22 modem subscription state by using a pseudomodem. 23 """ 24 25 job.run_test('cellular_OutOfCreditsSubscriptionState') 26