Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Side by Side Diff: recipe_modules/rietveld/example.py

Issue 1930373002: depot_tools: add dependencies on infra_paths (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « recipe_modules/git/__init__.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 )
OLDNEW
« no previous file with comments | « recipe_modules/git/__init__.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698