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

Method position_set_fixture

tests/chart/test_datalabel.py:210–215  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

208 ]
209 )
210 def position_set_fixture(self, request):
211 ser_cxml, value, expected_cxml = request.param
212 data_label = DataLabel(element(ser_cxml), 42)
213 new_value = None if value is None else getattr(XL_LABEL_POSITION, value)
214 expected_xml = xml(expected_cxml)
215 return data_label, new_value, expected_xml
216
217 @pytest.fixture(
218 params=[

Callers

nothing calls this directly

Calls 3

DataLabelClass · 0.90
elementFunction · 0.85
xmlFunction · 0.85

Tested by

no test coverage detected