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

Method new_fixture

tests/oxml/test_xmlchemy.py:347–350  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

345
346 @pytest.fixture
347 def new_fixture(self):
348 parent = self.parent_bldr(False).element
349 expected_xml = a_zomChild().with_nsdecls().xml()
350 return parent, expected_xml
351
352 def parent_bldr(self, zomChild_is_present):
353 parent_bldr = a_parent().with_nsdecls()

Callers

nothing calls this directly

Calls 4

parent_bldrMethod · 0.95
a_zomChildFunction · 0.85
with_nsdeclsMethod · 0.80
xmlMethod · 0.45

Tested by

no test coverage detected