ceph/qa/tasks/tests/test_import_yaml.py
Sebastian Wagner 7777603e8b
qa: tox.ini: verify yaml syntax
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-09-07 10:20:34 +02:00

6 lines
81 B
Python

import yaml
def test_load_yaml(yaml_file):
yaml.safe_load(open(yaml_file))