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

Method position_get_fixture

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

Source from the content-addressed store, hash-verified

155 ]
156 )
157 def position_get_fixture(self, request):
158 legend_cxml, expected_enum_member = request.param
159 legend = Legend(element(legend_cxml))
160 expected_value = getattr(XL_LEGEND_POSITION, expected_enum_member)
161 return legend, expected_value
162
163 @pytest.fixture(
164 params=[

Callers

nothing calls this directly

Calls 2

LegendClass · 0.90
elementFunction · 0.85

Tested by

no test coverage detected