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.
19 lines
535 B
Python
19 lines
535 B
Python
# Copyright 2015 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 GitTestApi(recipe_test_api.RecipeTestApi):
|
|
def count_objects_output(self, value):
|
|
return (
|
|
'count: %s\n'
|
|
'size: %s\n'
|
|
'in_pack: %s\n'
|
|
'packs: %s\n'
|
|
'size-pack: %s\n'
|
|
'prune-packable: %s\n'
|
|
'garbage: %s\n'
|
|
'size-garbage: %s\n'
|
|
) % tuple([value] * 8)
|