Home | History | Annotate | Download | only in autotest_SyncCount
      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 
      5 import logging
      6 
      7 from autotest_lib.client.common_lib import error
      8 from autotest_lib.server import hosts
      9 from autotest_lib.server import test
     10 
     11 class 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