1# Copyright (c) 2021 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_ValidateTestEnvironment" 7PURPOSE = "Verify that the test setup common to all other tests has no failures." 8CRITERIA = """ 9 Check that no errors occur when the setup and tear down of the 10 base class CellularTestEnvironment is executed multiple times. 11""" 12TIME = "SHORT" 13TEST_CATEGORY = "Functional" 14TEST_CLASS = "network" 15TEST_TYPE = "client" 16PY_VERSION = 3 17 18DOC = """ 19 Verify that the test setup common to all other tests has no failures. 20""" 21 22from autotest_lib.client.cros.cellular import test_environment 23 24ITERATIONS_PER_TEST=3 25 26test_env = test_environment.CellularTestEnvironment(enable_temp_containments=False) 27job.run_test('cellular_ValidateTestEnvironment', 28 tag='Base', 29 test_env=test_env, 30 iterations=ITERATIONS_PER_TEST) 31 32test_env = test_environment.CellularOTATestEnvironment(enable_temp_containments=False) 33job.run_test('cellular_ValidateTestEnvironment', 34 tag='OTA', 35 test_env=test_env, 36 iterations=ITERATIONS_PER_TEST) 37