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

Method has_notes_slide_fixture

tests/parts/test_slide.py:421–426  ·  view source on GitHub ↗
(self, request, part_related_by_)

Source from the content-addressed store, hash-verified

419
420 @pytest.fixture(params=[True, False])
421 def has_notes_slide_fixture(self, request, part_related_by_):
422 has_notes_slide = request.param
423 slide_part = SlidePart(None, None, None, None)
424 part_related_by_.side_effect = None if has_notes_slide else KeyError
425 expected_value = has_notes_slide
426 return slide_part, expected_value
427
428 @pytest.fixture
429 def layout_fixture(self, slide_layout_, part_related_by_):

Callers

nothing calls this directly

Calls 1

SlidePartClass · 0.90

Tested by

no test coverage detected