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