| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 DEPS = [ | 5 DEPS = [ |
| 6 'step', | 6 'tempfile', |
| 7 'uuid', | |
| 8 ] | 7 ] |
| 9 | 8 |
| 10 | |
| 11 def RunSteps(api): | 9 def RunSteps(api): |
| 12 uuid = api.uuid.random() | 10 with api.tempfile.temp_dir('foo'): |
| 13 api.step('echo', ['echo', str(uuid)]) | 11 pass |
| 14 | 12 |
| 15 | 13 |
| 16 def GenTests(api): | 14 def GenTests(api): |
| 17 yield api.test('basic') | 15 yield api.test('basic') |
| OLD | NEW |