| 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 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)) |
| OLD | NEW |