Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: recipe_modules/generator_script/examples/full.py

Issue 2909983003: [loader] Make recipe engine support examples/ module subdir (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2013 The LUCI Authors. All rights reserved. 1 # Copyright 2013 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed under the Apache License, Version 2.0 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # that can be found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 from recipe_engine.recipe_api import Property 5 from recipe_engine.recipe_api import Property
6 6
7 DEPS = [ 7 DEPS = [
8 'generator_script', 8 'generator_script',
9 'json', 9 'json',
10 'path', 10 'path',
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 ) 87 )
88 88
89 yield ( 89 yield (
90 api.test('malformed_command') + 90 api.test('malformed_command') +
91 api.properties(script_name='malformed.py') + 91 api.properties(script_name='malformed.py') +
92 api.generator_script( 92 api.generator_script(
93 'malformed.py', 93 'malformed.py',
94 {'name': 'run', 'cmd': ['echo', 'there are', 4, 'cows']}) + 94 {'name': 'run', 'cmd': ['echo', 'there are', 4, 'cows']}) +
95 api.expect_exception('AssertionError') 95 api.expect_exception('AssertionError')
96 ) 96 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698