Home | History | Annotate | Download | only in dummy_FailServer
      1 # Copyright (c) 2010 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 from autotest_lib.server import test
      6 from autotest_lib.client.common_lib import error
      7 
      8 class dummy_FailServer(test.test):
      9     """A test that always fails."""
     10     version = 1
     11 
     12     def run_once(self):
     13         """Run the test that always fails, once"""
     14         raise error.TestFail('Test always fails intentionally.')