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

Method get_or_add_fixture

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

Source from the content-addressed store, hash-verified

402
403 @pytest.fixture(params=[True, False])
404 def get_or_add_fixture(self, request):
405 zooChild_is_present = request.param
406 parent = self.parent_bldr(zooChild_is_present).element
407 expected_xml = self.parent_bldr(True).xml()
408 return parent, expected_xml
409
410 @pytest.fixture
411 def insert_fixture(self):

Callers

nothing calls this directly

Calls 2

parent_bldrMethod · 0.95
xmlMethod · 0.45

Tested by

no test coverage detected