buildtest.schemas.utils

Utility and helper functions for schemas.

Module Contents

Functions

load_recipe(path)

Load a yaml recipe file. The file must be in .yml extension

load_schema(path)

Load a json schema file, the file extension must be ‘.schema.json’

Attributes

here

buildtest.schemas.utils.here
buildtest.schemas.utils.load_recipe(path)

Load a yaml recipe file. The file must be in .yml extension for buildtest to load.

Parameters

path (str) – the path to the recipe file.

buildtest.schemas.utils.load_schema(path)

Load a json schema file, the file extension must be ‘.schema.json’

Parameters

path (str) – the path to the schema file.