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