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

Unified Diff: scripts/slave/recipe_modules/step/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: rebase 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/step/example.py
diff --git a/scripts/slave/recipe_modules/step/example.py b/scripts/slave/recipe_modules/step/example.py
index 2400202533afc37910cf161902d93d6ba9188a29..c2564897104e554657e580e504266d8470ebc061 100644
--- a/scripts/slave/recipe_modules/step/example.py
+++ b/scripts/slave/recipe_modules/step/example.py
@@ -22,5 +22,5 @@ def GenSteps(api):
env={'friend': 'Darth Vader'})
-def GenTests(_api):
- yield 'basic', {}
+def GenTests(api):
+ yield api.Test('basic')

Powered by Google App Engine
This is Rietveld 408576698