# 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. | |
DEPS = [ | |
"fuchsia/yaml", | |
"recipe_engine/path", | |
] | |
def RunSteps(api): | |
api.yaml.read_file( | |
"read test.yaml", api.path.cleanup_dir.join("test.yaml"), test_data={} | |
) | |
api.yaml.write_file( | |
"write test.yaml", | |
api.path.cleanup_dir.join("test.yaml"), | |
{"testdata": ["value1", "value2"]}, | |
) | |
def GenTests(api): | |
yield api.test("basic") |