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

Side by Side Diff: scripts/slave/recipe_modules/chromite/test_api.py

Issue 1345143004: CrOS: Use local Chromite checkout for configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebased, comments, more useful expectations. Created 5 years, 2 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 | Annotate | Revision Log
OLDNEW
(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 import base64
6 import hashlib
7
8 from recipe_engine import recipe_test_api
9
10 DEPS = [
11 'gitiles',
12 ]
13
14 class ChromiteTestApi(recipe_test_api.RecipeTestApi):
15 def seed_chromite_config(self, data, branch='master'):
16 """Seeds step data for the Chromite configuration fetch.
17 """
18 return self.m.step.step_data('read chromite config',
19 self.m.json.output(data))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698