framework icon indicating copy to clipboard operation
framework copied to clipboard

OdsPareser for writing creates more cells than we provide in data

Open roll opened this issue 3 years ago • 0 comments

Overview

See this failing test:

def test_ods_parser_write(tmpdir):
    source = Resource("data/table.csv")
    target = Resource(str(tmpdir.join("table.ods")))
    source.write(target)
    with target:
        assert target.header == ["id", "name"]
        assert target.read_rows() == [
            {"id": 1, "name": "english"},
            {"id": 2, "name": "中国人"},
        ]

roll avatar Jul 30 '22 06:07 roll