1 # Copyright 2017 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 5 from autotest_lib.server import utils 6 7 AUTHOR = "harpreet (a] chromium.org" 8 NAME = "enterprise_CFM_AutoZoomSanity" 9 TIME = "SHORT" 10 TEST_CATEGORY = "Functional" 11 TEST_CLASS = "enterprise" 12 TEST_TYPE = "server" 13 # TODO(crbug/811186) Disabled since it is constantly failing. 14 #ATTRIBUTES = "suite:bluestreak, suite:bluestreak-release" 15 DEPENDENCIES = "huddly, mimo" 16 JOB_RETRIES = 3 17 18 DOC = """ 19 Sanity test for AutoZoom feature available with Huddly and Mimo on bluestreak. 20 """ 21 22 args_dict = utils.args_to_dict(args) 23 servo_args = hosts.CrosHost.get_servo_arguments(args_dict) 24 25 def run_test(machine): 26 peripheral_dict = {'Huddly GO': '2bd9:0011', 27 'Hangouts Meet speakermic': '18d1:8001', 28 'MIMO VUE HD': '17e9:016b'} 29 host = hosts.create_host(machine, servo_args=servo_args) 30 job.run_test('enterprise_CFM_AutoZoomSanity', host=host, 31 session_length=100, peripheral_dict=peripheral_dict) 32 33 parallel_simple(run_test, machines) 34