buildtest.schemas.utils
¶
Utility and helper functions for schemas.
Module Contents¶
Functions¶
|
Load a yaml recipe file. The file must be in .yml extension |
|
Load a json schema file, the file extension must be ‘.schema.json’ |
Attributes¶
- 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.