• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 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 = 'scunningham'
6NAME = 'policy_ForceYouTubeSafetyMode'
7TIME = 'SHORT'
8TEST_CATEGORY = 'General'
9TEST_CLASS = 'enterprise'
10TEST_TYPE = 'client'
11
12DOC = '''
13Verify effect of ForceYouTubeSafetyMode policy on client behavior.
14
15This test verifies the effect of the ForceYouTubeSafetyMode user policy on
16Chrome OS client behavior. The test exercises all valid policy values across
17three test cases: NotSet_SafetyInactive, False_SafetyInactive, and
18True_SafetyActive.
19
20A test case shall pass when the YouTube.com page indicates that 'Restricted
21Mode' is On (or Off) when the policy is set true (or is set false or not set).
22A test case shall fail if the above behavior is not enforced.
23
24'''
25
26args_dict = utils.args_to_dict(args)
27
28job.run_test('policy_ForceYouTubeSafetyMode', **args_dict)
29