| OLD | NEW |
| 1 # -*- coding: utf-8 -*- |
| 1 # Copyright 2016 The LUCI Authors. All rights reserved. | 2 # Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed under the Apache License, Version 2.0 | 3 # Use of this source code is governed under the Apache License, Version 2.0 |
| 3 # that can be found in the LICENSE file. | 4 # that can be found in the LICENSE file. |
| 4 | 5 |
| 5 DEPS = [ | 6 DEPS = [ |
| 6 'tempfile', | 7 'properties', |
| 8 'step', |
| 7 ] | 9 ] |
| 8 | 10 |
| 9 def RunSteps(api): | 11 def RunSteps(api): |
| 10 with api.tempfile.temp_dir('foo'): | 12 result = api.step( |
| 11 pass | 13 'trigger some junk', |
| 12 | 14 cmd=['echo', 'hi'], |
| 15 ) |
| 16 result.presentation.logs['thing'] = u'hiiiii 😀…' |
| 13 | 17 |
| 14 def GenTests(api): | 18 def GenTests(api): |
| 15 yield api.test('basic') | 19 yield api.test('basic') |
| OLD | NEW |