You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
420 B
Python
15 lines
420 B
Python
# Copyright 2018 The Chromium 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 TryserverTestApi(recipe_test_api.RecipeTestApi):
|
|
|
|
@recipe_test_api.mod_test_data
|
|
@staticmethod
|
|
def gerrit_change_target_ref(target_ref):
|
|
assert target_ref.startswith('refs/')
|
|
return target_ref
|