Home | History | Annotate | Download | only in testbed_DummyTest
      1 # Copyright 2015 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 common
      6 from autotest_lib.server import test
      7 
      8 
      9 class testbed_DummyTest(test.test):
     10     """A dummy test to verify testbed can access connected Android devices."""
     11     version = 1
     12 
     13     def run_once(self, testbed=None):
     14         """A dummy test to verify testbed can access connected Android devices.
     15 
     16         Prerequisite: All connected DUTs are in ADB mode.
     17 
     18         @param testbed: host object representing the testbed.
     19         """
     20         self.testbed = testbed
     21         for device in self.testbed.get_all_hosts():
     22             device.run('true')
     23