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 'shutil', |
7 'uuid', | |
8 ] | 7 ] |
9 | 8 |
10 | |
11 def RunSteps(api): | 9 def RunSteps(api): |
12 uuid = api.uuid.random() | 10 api.shutil.rmtree('foo') |
13 api.step('echo', ['echo', str(uuid)]) | |
14 | 11 |
15 | 12 |
16 def GenTests(api): | 13 def GenTests(api): |
17 yield api.test('basic') | 14 yield api.test('basic') |
OLD | NEW |