MCPcopy
hub / github.com/python-openxml/python-docx / index_fixture

Method index_fixture

tests/text/test_tabstops.py:288–293  ·  view source on GitHub ↗
(self, request, TabStop_, tab_stop_)

Source from the content-addressed store, hash-verified

286 ]
287 )
288 def index_fixture(self, request, TabStop_, tab_stop_):
289 pPr_cxml, idx = request.param
290 pPr = element(pPr_cxml)
291 tab = pPr.xpath("./w:tabs/w:tab")[idx]
292 tab_stops = TabStops(pPr)
293 return tab_stops, idx, TabStop_, tab, tab_stop_
294
295 @pytest.fixture(
296 params=[

Callers

nothing calls this directly

Calls 3

TabStopsClass · 0.90
elementFunction · 0.85
xpathMethod · 0.80

Tested by

no test coverage detected