Validate the yaml file

Validation

You can use tempest-skip validate command to validate if the yaml file is in the expected format for the allowed list:

$ tempest-skip validate --allowed --file good_file.yaml

or for the skipped list:

$ tempest-skip validate –skipped –file good_file.yaml

This will return nothing if the file is valid, or an error otherwise:

$ tempest-skip validate --file bad_file.yaml
required key not provided @ data['known_failures'][0]['releases'][2]['reason']