# 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="main"): | |
return self.step_data( | |
"resolve base commit.get gerrit details", | |
self.m.json.output({"branch": branch}), | |
) |