MCPcopy Index your code
hub / github.com/python-openxml/python-docx / getter_fixture

Method getter_fixture

tests/oxml/test_xmlchemy.py:289–293  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

287
288 @pytest.fixture(params=["choice", None])
289 def getter_fixture(self, request):
290 choice_tag = request.param
291 parent = self.parent_bldr(choice_tag).element
292 expected_choice = parent.find(qn("w:choice")) # None if not found
293 return parent, expected_choice
294
295 @pytest.fixture
296 def insert_fixture(self):

Callers

nothing calls this directly

Calls 2

parent_bldrMethod · 0.95
qnFunction · 0.90

Tested by

no test coverage detected