1# Copyright 2015 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 = 'krishnargv' 6NAME = 'policy_URLBlacklist' 7TIME = 'SHORT' 8TEST_CATEGORY = 'General' 9TEST_CLASS = 'enterprise' 10TEST_TYPE = 'client' 11 12DOC = ''' 13Verify effects of policy_URLBlacklist policy on client behavior. 14 15This test verifies the effect of the URLBlacklist user policy on Chrome OS 16client behavior. It exercises a range of policy values using three unique test 17cases, named: NotSet_Allowed, SinglePage_Blocked and MultiplePages_Blocked. 18See the test file for a full description of what each test case does. 19 20A test case shall pass if: 21 - Only URLs that are in the URLBlacklist policy value are blocked. 22 - All other URLs are allowed. 23The test case shall fail if the above behavior is not enforced. 24 25''' 26 27args_dict = utils.args_to_dict(args) 28 29job.run_test('policy_URLBlacklist', **args_dict) 30