| # Copyright (c) 2019 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. |
| |
| AUTHOR = "Ruben Zakarian <rzakarian@chromium.org>" |
| NAME = "enroll_retainment" |
| PURPOSE = "Suite for automated enroll retainment tests." |
| |
| TIME = "LONG" |
| TEST_CATEGORY = "General" |
| TEST_CLASS = "enterprise" |
| TEST_TYPE = "server" |
| |
| DOC = """ |
| This suite runs the enroll retainment test on a device in the lab. |
| |
| """ |
| |
| import common |
| from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| |
| # Values specified in this bug template will override default values when |
| # filing bugs on tests that are a part of this suite. If left unspecified |
| # the bug filer will fallback to it's defaults. |
| _BUG_TEMPLATE = { |
| 'labels': ['enroll_retainment'], |
| 'owner': '', |
| 'status': None, |
| 'summary': None, |
| 'title': None, |
| 'cc': ['chromeos-ent-test@google.com'] |
| } |
| |
| args_dict['name'] = NAME |
| args_dict['add_experimental'] = True |
| args_dict['bug_template'] = _BUG_TEMPLATE |
| args_dict['job'] = job |
| |
| dynamic_suite.reimage_and_run(**args_dict) |