• 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.4bot"
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"""
25
26from autotest_lib.client.common_lib import utils
27
28args_dict = utils.args_to_dict(args)
29args = {
30    'pdash_note': args_dict.get('pdash_note', ''),
31    'tag' : NAME.split('.')[1],
32    'num_bots' : 4,
33    'duration' : 180,
34}
35
36def run(machine):
37    host = hosts.create_host(machine)
38    job.run_test("power_MeetCall", host=host, args=args)
39
40parallel_simple(run, machines)
41