def rows_fixture(self): row_count = 2 tbl = _tbl_bldr(rows=row_count, cols=2).element rows = _Rows(tbl) return rows, row_count
def table_fixture(self, table_): rows = _Rows(None, table_) table_.table = table_ return rows, table_
def slice_fixture(self, request): row_count, start, end, expected_count = request.param tbl = _tbl_bldr(rows=row_count, cols=2).element rows = _Rows(tbl, None) return rows, start, end, expected_count