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

Side by Side Diff: third_party/recipe_engine/recipe_modules/generator_script/test_api.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved show_me_the_modules into recipe_engine Created 5 years, 4 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 | Annotate | Revision Log
OLDNEW
1 from recipe_engine import recipe_test_api 1 from recipe_engine import recipe_test_api
2 2
3 class GeneratorScriptTestApi(recipe_test_api.RecipeTestApi): 3 class GeneratorScriptTestApi(recipe_test_api.RecipeTestApi):
4 def __call__(self, script_name, *steps): 4 def __call__(self, script_name, *steps):
5 assert all(isinstance(s, dict) for s in steps) 5 assert all(isinstance(s, dict) for s in steps)
6 return self.step_data( 6 return self.step_data(
7 'gen step(%s)' % script_name, 7 'gen step(%s)' % script_name,
8 self.m.json.output(list(steps)) 8 self.m.json.output(list(steps))
9 ) 9 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698