示例#1
0
def test_encode():
    table = Table()
    expected = {"rows": [], "cols": []}
    result = table.encode()
    assert json.loads(result) == expected