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