def given_a_table_cell(context): table = Document().add_table(rows=2, cols=2) context.cell = table.cell(0, 0)
def given_a_table_cell(context): table = Document(test_docx('tbl-2x2-table')).tables[0] context.cell = table.cell(0, 0)
def given_a_Cell_object_as_cell(context): table = Document(test_docx("tbl-2x2-table")).tables[0] context.cell = table.cell(0, 0)