ceph/qa/tasks/tests/test_import_yaml.py

6 lines
81 B
Python

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