Example #1
0
def test_cell_format_string():
    cell = Cell('test', format='hoo %s')
    assert cell.format_data(1) == 'hoo 1'
Example #2
0
def test_cell_format_func():
    cell = Cell('test', format_func=str)
    assert cell.format_data(1) == '1'