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

Method new_fixture

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

Source from the content-addressed store, hash-verified

309
310 @pytest.fixture
311 def new_fixture(self):
312 parent = self.parent_bldr().element
313 expected_xml = a_choice().with_nsdecls().xml()
314 return parent, expected_xml
315
316 # fixture components ---------------------------------------------
317

Callers

nothing calls this directly

Calls 4

parent_bldrMethod · 0.95
a_choiceFunction · 0.85
xmlMethod · 0.45
with_nsdeclsMethod · 0.45

Tested by

no test coverage detected