| OLD | NEW |
| 1 # Copyright 2015 The LUCI Authors. All rights reserved. | 1 # Copyright 2015 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed under the Apache License, Version 2.0 | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
| 3 # that can be found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 DEPS = [ | 6 DEPS = [ |
| 7 'step', | 7 'step', |
| 8 ] | 8 ] |
| 9 | 9 |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 with api.step.nest('even deeper'): | 32 with api.step.nest('even deeper'): |
| 33 pass | 33 pass |
| 34 nest_step.presentation.status = api.step.FAILURE | 34 nest_step.presentation.status = api.step.FAILURE |
| 35 assert nest_step.presentation.status == api.step.FAILURE | 35 assert nest_step.presentation.status == api.step.FAILURE |
| 36 | 36 |
| 37 api.step('simple thing', ['sleep', '1']) | 37 api.step('simple thing', ['sleep', '1']) |
| 38 | 38 |
| 39 | 39 |
| 40 def GenTests(api): | 40 def GenTests(api): |
| 41 yield api.test('basic') | 41 yield api.test('basic') |
| OLD | NEW |