

def _read_yaml_file_as_json(self, path):
    def_yaml = self._read_file_content(path)
    return yaml.safe_load(def_yaml)

dataset/ETHPy150Open StackStorm/st2/st2api/tests/unit/controllers/exp/test_validator_mistral.py MistralValidationControllerTest._read_yaml_file_as_json/original