blob: b3cde18cc68613ae9b5d47736220f8ea2cbd2c63 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from autotest_lib.client.common_lib import utils
AUTHOR = "chromeos-chameleon"
NAME = "audio_AudioBasicAssistant"
PURPOSE = "Remotely controlled assistant test with chameleon."
CRITERIA = """This test will fail if the assistant can't open a tab requested by
voice command."""
TEST_CATEGORY = "Functional"
TEST_CLASS = "audio"
TEST_TYPE = "server"
ATTRIBUTES = "suite:audio_advanced"
DEPENDENCIES = "audio_box"
DOC = """
A basic assistant voice command test.
We need a DUT with hotwording function, chameleon with speaker and a quiet space
to run the test (audio_box).
args_dict = utils.args_to_dict(args)
chameleon_args = hosts.CrosHost.get_chameleon_arguments(args_dict)
def run(machine):
host=hosts.create_host(machine, chameleon_args=chameleon_args),
parallel_simple(run, machines)