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. 4 5AUTHOR = 'rzakarian' 6NAME = 'policy_ForceYouTubeRestrict' 7TIME = 'SHORT' 8TEST_CATEGORY = 'General' 9TEST_CLASS = 'enterprise' 10TEST_TYPE = 'client' 11 12DOC = ''' 13Verifies effects of ForceYouTubeRestrict policy. 14 15This test verifies four states of this policy: Strict, Moderate, 16Disabled and Not Set. 17 18If the policy is set to Strict than the user will not be able to view any 19restricted videos on YouTube. If the policy is set to Moderate than the 20user will not be able to watch some restricted videos. If the policy is 21Disabled or Not Set the user will be able to watch everything. In both cases, 22Strict and Moderate, the user will not be able to toggle restricted settings 23on the website. 24''' 25 26args_dict = utils.args_to_dict(args) 27 28job.run_test('policy_ForceYouTubeRestrict', **args_dict) 29