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

Method add_fixture

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

Source from the content-addressed store, hash-verified

65
66 @pytest.fixture
67 def add_fixture(self):
68 parent = self.parent_bldr().element
69 expected_xml = self.parent_bldr("choice").xml()
70 return parent, expected_xml
71
72 @pytest.fixture(params=[("choice2", "choice"), (None, "choice"), ("choice", "choice")])
73 def get_or_change_to_fixture(self, request):

Callers

nothing calls this directly

Calls 2

parent_bldrMethod · 0.95
xmlMethod · 0.45

Tested by

no test coverage detected