• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2020 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 = "puthik"
8NAME = "power_MeetCall.16bot"
9PURPOSE = "Use bond api to create meet bot and test hangout meet."
10TIME = "SHORT"
11TEST_CATEGORY = "Functional"
12TEST_CLASS = "power"
13TEST_TYPE = "server"
14
15DOC = """
16This test uses bond api to create meet bot and test hangout meet.
17
18To run the test manually:
19- Install the cred from https://crbug.com/874835#c3 to
20  /creds/service_accounts/bond_service_account.json in chroot
21- Ran the following command in chroot to install rsa to python2
22  sudo cp -r /usr/lib64/python{3.6,2.7}/site-packages/rsa
23"""
24
25from autotest_lib.client.common_lib import utils
26
27args_dict = utils.args_to_dict(args)
28args = {
29    'pdash_note': args_dict.get('pdash_note', ''),
30    'tag' : NAME.split('.')[1],
31    'num_bots' : 16,
32}
33
34def run(machine):
35    host = hosts.create_host(machine)
36    job.run_test("power_MeetCall", host=host, args=args)
37
38parallel_simple(run, machines)
39