OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'infra_paths', |
6 'recipe_engine/path', | 7 'recipe_engine/path', |
7 'recipe_engine/properties', | 8 'recipe_engine/properties', |
8 'recipe_engine/step', | 9 'recipe_engine/step', |
9 'rietveld', | 10 'rietveld', |
10 ] | 11 ] |
11 | 12 |
12 def RunSteps(api): | 13 def RunSteps(api): |
13 api.path['checkout'] = api.path['slave_build'] | 14 api.path['checkout'] = api.path['slave_build'] |
14 api.rietveld.apply_issue('foo', 'bar', authentication='oauth2') | 15 api.rietveld.apply_issue('foo', 'bar', authentication='oauth2') |
15 api.rietveld.calculate_issue_root({'project': ['']}) | 16 api.rietveld.calculate_issue_root({'project': ['']}) |
16 | 17 |
17 | 18 |
18 def GenTests(api): | 19 def GenTests(api): |
19 yield (api.test('basic') | 20 yield (api.test('basic') |
20 + api.properties(issue=1, | 21 + api.properties(issue=1, |
21 patchset=1, | 22 patchset=1, |
22 rietveld='http://review_tool.url') | 23 rietveld='http://review_tool.url') |
23 ) | 24 ) |
OLD | NEW |