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" 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:network3g_pseudomodem" 16 SUITE = "network3g_pseudomodem" 17 TIME = "SHORT" 18 TEST_CATEGORY = "Functional" 19 TEST_CLASS = "network" 20 TEST_TYPE = "client" 21 DOC = """ 22 Tests that shill marks a cellular service as out-of-credits according to the 23 modem subscription state by using a pseudomodem. 24 """ 25 26 job.run_test('cellular_OutOfCreditsSubscriptionState') 27