| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import logging | 5 import logging |
| 6 | 6 |
| 7 from autotest_lib.client.bin import test | 7 from autotest_lib.client.bin import test |
| 8 from autotest_lib.client.common_lib import error | 8 from autotest_lib.client.bin import factory_error as error |
| 9 | 9 |
| 10 class factory_Fail(test.test): | 10 class factory_Fail(test.test): |
| 11 version = 1 | 11 version = 1 |
| 12 | 12 |
| 13 def run_once(self): | 13 def run_once(self): |
| 14 # Stub test to report failure. | 14 # Stub test to report failure. |
| 15 raise error.TestFail("Factory suite has failed."); | 15 raise error.TestFail("Factory suite has failed."); |
| OLD | NEW |