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

Method xml_fixture

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

Source from the content-addressed store, hash-verified

325 ]
326 )
327 def xml_fixture(self, request):
328 enum_member, ser_count, point_count, snippet_name = request.param
329 chart_type = getattr(XL_CHART_TYPE, enum_member)
330 chart_data = make_xy_chart_data(ser_count, point_count)
331 xml_writer = _XyChartXmlWriter(chart_type, chart_data)
332 expected_xml = snippet_text(snippet_name)
333 return xml_writer, expected_xml
334
335
336class Describe_BubbleSeriesXmlWriter(object):

Callers

nothing calls this directly

Calls 3

_XyChartXmlWriterClass · 0.90
make_xy_chart_dataFunction · 0.85
snippet_textFunction · 0.85

Tested by

no test coverage detected