# Copyright 2019 The Fuchsia Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
from recipe_engine import recipe_test_api | |
class BuildInputResolverTestApi(recipe_test_api.RecipeTestApi): | |
def set_gerrit_branch(self, branch='master'): | |
return self.step_data('get_gerrit_details', | |
self.m.json.output({'branch': branch})) |