| Index: client/site_tests/factory_WriteGBB/factory_WriteGBB.py
|
| diff --git a/client/site_tests/factory_WriteGBB/factory_WriteGBB.py b/client/site_tests/factory_WriteGBB/factory_WriteGBB.py
|
| index 73542536674039df2d60d8af18401dd582d31233..4648592ad037416291c9d6fc6501211b8069c693 100644
|
| --- a/client/site_tests/factory_WriteGBB/factory_WriteGBB.py
|
| +++ b/client/site_tests/factory_WriteGBB/factory_WriteGBB.py
|
| @@ -21,6 +21,10 @@ class factory_WriteGBB(test.test):
|
| if 'part_id_hwqual' in shared_dict:
|
| id = shared_dict['part_id_hwqual'].replace(' ', '_')
|
| component_file = 'data_*/components_%s' % id
|
| + else:
|
| + raise error.TestError(
|
| + 'You need to run this test from factory UI, and have ' +
|
| + 'successfully completed the HWQual-ID matching test ')
|
|
|
| component_files = glob.glob(component_file)
|
| if len(component_files) != 1:
|
|
|