1# Copyright 2019 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. 4from autotest_lib.client.cros.enterprise import enterprise_policy_base 5 6 7class policy_AutotestSanity( 8 enterprise_policy_base.EnterprisePolicyTest): 9 """ 10 Super small autotest to be put on CQ. 11 12 The purpose of this autotest is to verify that all the basics of the 13 Enteprise autotest work. Policy is set and applied. 14 15 Test will verify these areas work: 16 getAllPolicies API 17 test_policyserver & protos 18 Chrome login 19 """ 20 version = 1 21 22 POLICY_NAME = 'AllowDinosaurEasterEgg' 23 24 25 def run_once(self): 26 """ 27 Setup and run the test configured for the specified test case. 28 29 """ 30 self.setup_case(user_policies={self.POLICY_NAME: True}) 31