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

Method new_fixture

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

Source from the content-addressed store, hash-verified

567
568 @pytest.fixture
569 def new_fixture(self):
570 parent = self.parent_bldr(False).element
571 expected_xml = a_zomChild().with_nsdecls().xml()
572 return parent, expected_xml
573
574 def parent_bldr(self, zomChild_is_present):
575 parent_bldr = a_parent().with_nsdecls()

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected