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

Method get_or_change_to_fixture

tests/oxml/test_xmlchemy.py:73–77  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

71
72 @pytest.fixture(params=[("choice2", "choice"), (None, "choice"), ("choice", "choice")])
73 def get_or_change_to_fixture(self, request):
74 before_member_tag, after_member_tag = request.param
75 parent = self.parent_bldr(before_member_tag).element
76 expected_xml = self.parent_bldr(after_member_tag).xml()
77 return parent, expected_xml
78
79 @pytest.fixture(params=["choice", None])
80 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