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

Method getter_fixture

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

Source from the content-addressed store, hash-verified

617
618 @pytest.fixture(params=[True, False])
619 def getter_fixture(self, request):
620 zooChild_is_present = request.param
621 parent = self.parent_bldr(zooChild_is_present).element
622 zooChild = parent.find(qn("w:zooChild")) # None if not found
623 return parent, zooChild
624
625 @pytest.fixture(params=[True, False])
626 def get_or_add_fixture(self, request):

Callers

nothing calls this directly

Calls 2

parent_bldrMethod · 0.95
qnFunction · 0.90

Tested by

no test coverage detected