def METHOD_NAME(self):
    with pytest.raises(
        DataGenSyntaxError,
        match="Update recipes should have a single object declaration",
    ):
        generate_data(
            StringIO(
                """
            -   var: A
                value: B"""
            ),
            update_input_file="examples/datasets/addresses.csv",
        )