blob: 9b2d8fb33060d06e5af3668ade2a786ff7cf9309 [file] [log] [blame]
# Copyright 2021 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 KytheTestApi(recipe_test_api.RecipeTestApi):
def valid(self):
return self.step_data("validate kzip", stdout=self.m.json.output({}))
def invalid(self):
return self.step_data(
"validate kzip",
stdout=self.m.json.output({"critical_kzip_errors": ["error"]}),
)