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

Method shapes_fixture

tests/test_slide.py:138–142  ·  view source on GitHub ↗
(self, MasterShapes_, shapes_)

Source from the content-addressed store, hash-verified

136
137 @pytest.fixture
138 def shapes_fixture(self, MasterShapes_, shapes_):
139 master_element = element("p:sldMaster/p:cSld/p:spTree")
140 base_master = _BaseMaster(master_element, None)
141 spTree = master_element.xpath("//p:spTree")[0]
142 return base_master, MasterShapes_, spTree, shapes_
143
144 @pytest.fixture
145 def subclass_fixture(self):

Callers

nothing calls this directly

Calls 3

_BaseMasterClass · 0.90
elementFunction · 0.85
xpathMethod · 0.45

Tested by

no test coverage detected