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

Method position_set_fixture

tests/chart/test_legend.py:171–176  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

169 ]
170 )
171 def position_set_fixture(self, request):
172 legend_cxml, new_enum_member, expected_legend_cxml = request.param
173 legend = Legend(element(legend_cxml))
174 new_value = getattr(XL_LEGEND_POSITION, new_enum_member)
175 expected_xml = xml(expected_legend_cxml)
176 return legend, new_value, expected_xml

Callers

nothing calls this directly

Calls 3

LegendClass · 0.90
elementFunction · 0.85
xmlFunction · 0.85

Tested by

no test coverage detected