(context, role)
| 60 | |
| 61 | @given("a {role} _Cell object as cell") |
| 62 | def given_a_role_Cell_object_as_cell(context, role): |
| 63 | coordinates = {"merge-origin": (0, 0), "spanned": (0, 1), "unmerged": (2, 2)}[role] |
| 64 | table = Presentation(test_pptx("tbl-cell")).slides[1].shapes[0].table |
| 65 | # ---create other_cell here where we know the coordinates--- |
| 66 | context.cell = table.cell(*coordinates) |
| 67 | context.other_cell = table.cell(*coordinates) |
| 68 | |
| 69 | |
| 70 | @given("a second proxy instance for that cell as other_cell") |
nothing calls this directly
no test coverage detected
searching dependent graphs…