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 5from autotest_lib.server import test 6from autotest_lib.client.common_lib import error 7 8 9class stub_FailServer(test.test): 10 """A test that always fails.""" 11 version = 1 12 13 def run_once(self): 14 """Run the test that always fails, once""" 15 raise error.TestFail('Test always fails intentionally.') 16