Пример #1
0
 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
Пример #2
0
 def cell_count_fixture(self):
     cells = _RowCells(element('w:tr/(w:tc, w:tc)'), None)
     cell_count = 2
     return cells, cell_count
Пример #3
0
 def cell_count_fixture(self):
     cells = _RowCells(element('w:tr/(w:tc, w:tc)'), None)
     cell_count = 2
     return cells, cell_count