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

Method iter_fixture

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

Source from the content-addressed store, hash-verified

300 ]
301 )
302 def iter_fixture(self, request, TabStop_, tab_stop_):
303 pPr_cxml, expected_count = request.param
304 pPr = element(pPr_cxml)
305 tab_elms = pPr.xpath("//w:tab")
306 tab_stops = TabStops(pPr)
307 expected_calls = [call(tab) for tab in tab_elms]
308 return tab_stops, expected_count, tab_stop_, TabStop_, expected_calls
309
310 @pytest.fixture(
311 params=[

Callers

nothing calls this directly

Calls 3

TabStopsClass · 0.90
elementFunction · 0.85
xpathMethod · 0.80

Tested by

no test coverage detected