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

Method shapes_fixture

tests/test_slide.py:386–390  ·  view source on GitHub ↗
(self, SlideShapes_, shapes_)

Source from the content-addressed store, hash-verified

384
385 @pytest.fixture
386 def shapes_fixture(self, SlideShapes_, shapes_):
387 sld = element("p:sld/p:cSld/p:spTree")
388 spTree = sld.xpath("//p:spTree")[0]
389 slide = Slide(sld, None)
390 return slide, SlideShapes_, spTree, shapes_
391
392 @pytest.fixture
393 def slide_id_fixture(self, part_prop_, slide_part_):

Callers

nothing calls this directly

Calls 3

SlideClass · 0.90
elementFunction · 0.85
xpathMethod · 0.45

Tested by

no test coverage detected