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

Method xml_fixture

tests/chart/test_xmlwriter.py:224–230  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

222 ]
223 )
224 def xml_fixture(self, request):
225 enum_member, ser_count, point_count, snippet_name = request.param
226 chart_type = getattr(XL_CHART_TYPE, enum_member)
227 chart_data = make_bubble_chart_data(ser_count, point_count)
228 xml_writer = _BubbleChartXmlWriter(chart_type, chart_data)
229 expected_xml = snippet_text(snippet_name)
230 return xml_writer, expected_xml
231
232
233class Describe_DoughnutChartXmlWriter(object):

Callers

nothing calls this directly

Calls 3

make_bubble_chart_dataFunction · 0.85
snippet_textFunction · 0.85

Tested by

no test coverage detected