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

Method add_ser_fixture

tests/chart/test_data.py:180–192  ·  view source on GitHub ↗
(self, CategorySeriesData_, series_)

Source from the content-addressed store, hash-verified

178
179 @pytest.fixture
180 def add_ser_fixture(self, CategorySeriesData_, series_):
181 chart_data = CategoryChartData()
182 name, values, number_format = "foobar", iter((1, 2, 3)), "0.0"
183 calls = [call(1), call(2), call(3)]
184 return (
185 chart_data,
186 name,
187 values,
188 number_format,
189 CategorySeriesData_,
190 calls,
191 series_,
192 )
193
194 @pytest.fixture
195 def categories_fixture(self, Categories_, categories_):

Callers

nothing calls this directly

Calls 1

CategoryChartDataClass · 0.90

Tested by

no test coverage detected