def cell_count_fixture(self): cell_count = 2 tr_bldr = a_tr().with_nsdecls() for idx in range(cell_count): tr_bldr.with_child(a_tc()) tr = tr_bldr.element cells = _RowCells(tr) return cells, cell_count
def cell_count_fixture(self): cells = _RowCells(element('w:tr/(w:tc, w:tc)'), None) cell_count = 2 return cells, cell_count