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

Method insert_fixture

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

Source from the content-addressed store, hash-verified

85
86 @pytest.fixture
87 def insert_fixture(self):
88 parent = (
89 a_parent().with_nsdecls().with_child(an_oomChild()).with_child(an_oooChild())
90 ).element
91 choice = a_choice().with_nsdecls().element
92 expected_xml = (
93 a_parent()
94 .with_nsdecls()
95 .with_child(a_choice())
96 .with_child(an_oomChild())
97 .with_child(an_oooChild())
98 ).xml()
99 return parent, choice, expected_xml
100
101 @pytest.fixture
102 def new_fixture(self):

Callers

nothing calls this directly

Calls 7

a_parentFunction · 0.85
an_oomChildFunction · 0.85
an_oooChildFunction · 0.85
a_choiceFunction · 0.85
with_childMethod · 0.80
with_nsdeclsMethod · 0.80
xmlMethod · 0.45

Tested by

no test coverage detected