| Index: scripts/slave/unittests/recipes_test.py
|
| diff --git a/scripts/slave/unittests/recipes_test.py b/scripts/slave/unittests/recipes_test.py
|
| index f568ca2de6c0f1885904e86a5e4c41652580f129..1aacac8715645f6fc7df912849a10201f8168651 100755
|
| --- a/scripts/slave/unittests/recipes_test.py
|
| +++ b/scripts/slave/unittests/recipes_test.py
|
| @@ -119,11 +119,12 @@ def execute_test_case(test_fn, recipe_path):
|
| bp = test_data.get('build_properties', {})
|
| fp = test_data.get('factory_properties', {})
|
| td = test_data.get('test_data', {})
|
| + pm = test_data.get('paths_to_mock', [])
|
| fp['recipe'] = os.path.basename(os.path.splitext(recipe_path)[0])
|
|
|
| stream = annotator.StructuredAnnotationStream(stream=open(os.devnull, 'w'))
|
| with cover():
|
| - with recipe_util.mock_paths():
|
| + with recipe_util.mock_paths(paths_to_mock=pm):
|
| step_data = annotated_run.run_steps(stream, bp, fp, td).steps_ran.values()
|
| return [s.step for s in step_data]
|
|
|
|
|