blob: ea4cad0353e114806e4cae4886cf75c39c15e77f [file] [log] [blame]
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TEST IS DISABLED UNTIL MIGRATED TO PYTHON 3.
# For instructions on how to: go/tauto-py3-migration
# To re-enable migrate to Python 3.
# If the test is not migrated by 1/14/22 it will be deleted.
AUTHOR = "ChromeOS Team"
NAME = "cellular_OutOfCreditsSubscriptionState.pseudomodem"
PURPOSE = "Verify shill out-of-credits behavior using subscription state."
CRITERIA = """
This test will fail if one of the following conditions occurs:
- Shill does not mark a cellular service as out-of-credits when the modem
reports it as so.
- Shill does not clear the out-of-credits flag when the subscription state
transitions to provisioned after being out-of-credits.
"""
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "network"
TEST_TYPE = "client"
DOC = """
Tests that shill marks a cellular service as out-of-credits according to the
modem subscription state by using a pseudomodem.
"""
job.run_test('cellular_OutOfCreditsSubscriptionState')