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

Side by Side Diff: scripts/slave/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: Roll to latest recipes-py Created 5 years, 3 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
(Empty)
1 from recipe_engine import recipe_test_api
2
3 class GeneratorScriptTestApi(recipe_test_api.RecipeTestApi):
4 def __call__(self, script_name, *steps):
5 assert all(isinstance(s, dict) for s in steps)
6 return self.step_data(
7 'gen step(%s)' % script_name,
8 self.m.json.output(list(steps))
9 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698