• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 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
5import logging
6
7from autotest_lib.client.common_lib import error
8from autotest_lib.server import hosts
9from autotest_lib.server import test
10
11class autotest_SyncCount(test.test):
12  version = 1
13
14  def run_once(self, ntuple):
15    for machine in ntuple:
16      logging.info('Using host %s', machine)
17
18    if len(ntuple) != 2:
19      raise error.TestFail('Expected %s hosts, got %s' % (2, len(ntuple)))
20