| 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 3303f58b0e36e5bf363b1d28bd9279a2b6e5ef70..5cd953d3b98fea7141d71bb2ef9670ae8afda8cd 100644
|
| --- a/scripts/slave/recipe_modules/git/example.py
|
| +++ b/scripts/slave/recipe_modules/git/example.py
|
| @@ -5,6 +5,7 @@
|
| DEPS = [
|
| 'git',
|
| 'path',
|
| + 'platform',
|
| ]
|
|
|
|
|
| @@ -19,13 +20,7 @@ def GenSteps(api):
|
| yield api.git('status', cwd=api.path.checkout())
|
|
|
|
|
| -def GenTests(_api):
|
| - yield 'basic', {}
|
| +def GenTests(api):
|
| + yield api.test('basic')
|
|
|
| - yield 'platform_win', {
|
| - 'mock': {
|
| - 'platform': {
|
| - 'name': 'win'
|
| - }
|
| - }
|
| - }
|
| + yield api.test('platform_win') + api.platform.name('win')
|
|
|