Chromium Code Reviews| Index: recipes/example/nested.py |
| diff --git a/recipes/example/nested.py b/recipes/example/nested.py |
| index d9e3671c38a8736024fb1154b9596d4fbba93c7e..4947ea1e2d1b5ab2340f260bc95ca1f9b8fc45f6 100644 |
| --- a/recipes/example/nested.py |
| +++ b/recipes/example/nested.py |
| @@ -12,7 +12,7 @@ def RunSteps(api): |
| # Nest all steps below this. |
| with api.step.nest('complicated thing'): |
| with api.step.nest('first part'): |
| - api.step('wait a bit', ['sleep', '10']) |
| + api.step('wait a bit', ['sleep', '1']) |
|
dnj
2016/08/15 17:33:53
b/c when actually running this, "1" is a much more
|
| # Prefix the name without indenting. |
| with api.step.context({'name': 'attempt number'}): |
| @@ -20,7 +20,7 @@ def RunSteps(api): |
| assert step_result.step['name'] == 'complicated thing.attempt number.one' |
| api.step('two', ['echo', 'derpy']) |
| - api.step('simple thing', ['sleep', '10']) |
| + api.step('simple thing', ['sleep', '1']) |
| def GenTests(api): |