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

Method add_fixture

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

Source from the content-addressed store, hash-verified

611
612 @pytest.fixture
613 def add_fixture(self):
614 parent = self.parent_bldr(False).element
615 expected_xml = self.parent_bldr(True).xml()
616 return parent, expected_xml
617
618 @pytest.fixture(params=[True, False])
619 def getter_fixture(self, request):

Callers

nothing calls this directly

Calls 2

parent_bldrMethod · 0.95
xmlMethod · 0.45

Tested by

no test coverage detected