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

Method clear_fixture

tests/test_action.py:150–158  ·  view source on GitHub ↗
(self, request, part_prop_, part_)

Source from the content-addressed store, hash-verified

148 ]
149 )
150 def clear_fixture(self, request, part_prop_, part_):
151 xPr_cxml, rId, expected_cxml = request.param
152 action_setting = ActionSetting(element(xPr_cxml), None)
153
154 part_prop_.return_value = part_
155
156 calls = [call(rId)] if rId else []
157 expected_xml = xml(expected_cxml)
158 return action_setting, calls, expected_xml
159
160 @pytest.fixture
161 def hyperlink_fixture(self, Hyperlink_, hyperlink_):

Callers

nothing calls this directly

Calls 3

ActionSettingClass · 0.90
elementFunction · 0.85
xmlFunction · 0.85

Tested by

no test coverage detected