| 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 import json | 5 import json |
| 6 | 6 |
| 7 from recipe_engine import recipe_test_api | 7 from recipe_engine import recipe_test_api |
| 8 | 8 |
| 9 | 9 |
| 10 class GatekeeperTestApi(recipe_test_api.RecipeTestApi): | 10 class GatekeeperTestApi(recipe_test_api.RecipeTestApi): |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 'revision-properties': 'got_revision,got_webkit_revision', | 21 'revision-properties': 'got_revision,got_webkit_revision', |
| 22 'set-status': True, | 22 'set-status': True, |
| 23 'sheriff-url': 'https://build.chromium.org/p/chromium/%s.js', | 23 'sheriff-url': 'https://build.chromium.org/p/chromium/%s.js', |
| 24 'status-url': 'https://blink-status.appspot.com', | 24 'status-url': 'https://blink-status.appspot.com', |
| 25 'status-user': 'gatekeeper@google.com', | 25 'status-user': 'gatekeeper@google.com', |
| 26 'track-revisions': True, | 26 'track-revisions': True, |
| 27 'use-project-email-address': True, | 27 'use-project-email-address': True, |
| 28 }, | 28 }, |
| 29 'chromium': {}, | 29 'chromium': {}, |
| 30 }) | 30 }) |
| 31 | |
| 32 def read_real_config(self, f): | |
| 33 return self.m.json.output(json.loads(self.m.file.read_in_build(f))) | |
| 34 | |
| 35 def read_real_internal_config(self, f): # pragma nocover | |
| 36 return self.m.json.output(json.loads(self.m.file.read_in_build_internal(f))) | |
| OLD | NEW |