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

Method getter_fixture

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

Source from the content-addressed store, hash-verified

395
396 @pytest.fixture(params=[True, False])
397 def getter_fixture(self, request):
398 zooChild_is_present = request.param
399 parent = self.parent_bldr(zooChild_is_present).element
400 zooChild = parent.find(qn("p:zooChild")) # None if not found
401 return parent, zooChild
402
403 @pytest.fixture(params=[True, False])
404 def get_or_add_fixture(self, request):

Callers

nothing calls this directly

Calls 3

parent_bldrMethod · 0.95
qnFunction · 0.90
findMethod · 0.80

Tested by

no test coverage detected