Beispiel #1
0
 def rows_fixture(self):
     row_count = 2
     tbl = _tbl_bldr(rows=row_count, cols=2).element
     rows = _Rows(tbl)
     return rows, row_count
Beispiel #2
0
 def table_fixture(self, table_):
     rows = _Rows(None, table_)
     table_.table = table_
     return rows, table_
Beispiel #3
0
 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
Beispiel #4
0
 def table_fixture(self, table_):
     rows = _Rows(None, table_)
     table_.table = table_
     return rows, table_
Beispiel #5
0
 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