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

Method background_fixture

tests/test_slide.py:348–351  ·  view source on GitHub ↗
(self, _BaseSlide_background_, background_)

Source from the content-addressed store, hash-verified

346
347 @pytest.fixture
348 def background_fixture(self, _BaseSlide_background_, background_):
349 slide = Slide(None, None)
350 _BaseSlide_background_.return_value = background_
351 return slide, _BaseSlide_background_, background_
352
353 @pytest.fixture(params=[("p:sld/p:cSld", True), ("p:sld/p:cSld/p:bg", False)])
354 def follow_get_fixture(self, request):

Callers

nothing calls this directly

Calls 1

SlideClass · 0.90

Tested by

no test coverage detected