MCPcopy Create free account
hub / github.com/scanny/python-pptx / getitem_fixture

Method getitem_fixture

tests/test_table.py:781–786  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

779
780 @pytest.fixture(params=["a:tbl", "a:tbl/a:tr", "a:tbl/(a:tr, a:tr, a:tr)"])
781 def getitem_fixture(self, request):
782 tbl_cxml = request.param
783 tbl = element(tbl_cxml)
784 rows = _RowCollection(tbl, None)
785 expected_row_lst = tbl.findall(qn("a:tr"))
786 return rows, expected_row_lst
787
788 @pytest.fixture(params=["a:tbl", "a:tbl/a:tr", "a:tbl/(a:tr, a:tr, a:tr)"])
789 def iter_fixture(self, request):

Callers

nothing calls this directly

Calls 3

_RowCollectionClass · 0.90
qnFunction · 0.90
elementFunction · 0.85

Tested by

no test coverage detected