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 5AUTHOR = "ChromeOS Team" 6NAME = "cellular_OutOfCreditsSubscriptionState.pseudomodem" 7PURPOSE = "Verify shill out-of-credits behavior using subscription state." 8CRITERIA = """ 9This 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""" 15ATTRIBUTES = "suite:cellular_pseudomodem" 16TIME = "SHORT" 17TEST_CATEGORY = "Functional" 18TEST_CLASS = "network" 19TEST_TYPE = "client" 20DOC = """ 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 25job.run_test('cellular_OutOfCreditsSubscriptionState') 26