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

Unified Diff: scripts/slave/recipe_modules/git/example.py

Issue 23889036: Refactor the way that TestApi works so that it is actually useful. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Yeeeeaaaahhhhhh! Created 7 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/git/example.py
diff --git a/scripts/slave/recipe_modules/git/example.py b/scripts/slave/recipe_modules/git/example.py
index 672d11822ba62777d0bb8e06da0476981296c81f..ac5413c8ada7b22732321d329c0eef7c7f9a7ea2 100644
--- a/scripts/slave/recipe_modules/git/example.py
+++ b/scripts/slave/recipe_modules/git/example.py
@@ -19,5 +19,5 @@ def GenSteps(api):
yield api.git.command('status', cwd=api.path.checkout())
-def GenTests(_api):
- yield 'basic', {}
+def GenTests(api):
+ yield api.Test('basic')

Powered by Google App Engine
This is Rietveld 408576698