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
5from autotest_lib.server import utils
6
7AUTHOR = "denniswu@chromium.org"
8NAME = "enterprise_CFM_AutoZoomSanity.partners"
9TIME = "SHORT"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "enterprise"
12TEST_TYPE = "server"
13ATTRIBUTES = "suite:bluestreak-partners"
14DEPENDENCIES = "autozoom"
15JOB_RETRIES = 3
16
17DOC = """
18Sanity test for AutoZoom feature available with Huddly and Mimo on bluestreak.
19This test bypasses servo check and is used by third party vendor PAL Acoustics.
20"""
21
22args_dict = utils.args_to_dict(args)
23
24
25def 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=None)
30    job.run_test('enterprise_CFM_AutoZoomSanity', host=host,
31                 session_length=100, peripheral_dict=peripheral_dict)
32
33parallel_simple(run_test, machines)
34