| Index: scripts/slave/recipe_modules/luci_config/example.py
|
| diff --git a/scripts/slave/recipe_modules/luci_config/example.py b/scripts/slave/recipe_modules/luci_config/example.py
|
| index aff5eb462308fafbfbc3af95e3c445f12c63000c..8341dc94cf51e52c7af636ed16f70efe50fd00a1 100644
|
| --- a/scripts/slave/recipe_modules/luci_config/example.py
|
| +++ b/scripts/slave/recipe_modules/luci_config/example.py
|
| @@ -34,3 +34,18 @@ def GenTests(api):
|
| api.luci_config.get_projects(['build']) +
|
| api.luci_config.get_project_config('build', 'recipes.cfg', 'testcontent')
|
| )
|
| +
|
| + protobuf_lines = """
|
| + foo: 1
|
| + bar: "hi"
|
| + baz: {
|
| + the_thing: "hi"
|
| + }
|
| + """
|
| +
|
| + yield (
|
| + api.test('protobuf') +
|
| + api.luci_config.get_projects(['build']) +
|
| + api.luci_config.get_project_config(
|
| + 'build', 'recipes.cfg', '\n'.join(protobuf_lines))
|
| + )
|
|
|