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

Method _slide_index_fixture

tests/test_action.py:167–174  ·  view source on GitHub ↗
(self, request, part_prop_)

Source from the content-addressed store, hash-verified

165
166 @pytest.fixture
167 def _slide_index_fixture(self, request, part_prop_):
168 action_setting = ActionSetting(None, None)
169 slide_part = part_prop_.return_value
170 slides = slide_part.package.presentation_part.presentation.slides
171 slide = slide_part.slide
172 expected_value = 123
173 slides.index.return_value = expected_value
174 return action_setting, slides, slide, expected_value
175
176 @pytest.fixture(
177 params=[

Callers

nothing calls this directly

Calls 1

ActionSettingClass · 0.90

Tested by

no test coverage detected