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

Method add_cat_fixture

tests/chart/test_data.py:173–177  ·  view source on GitHub ↗
(self, categories_prop_, categories_, category_)

Source from the content-addressed store, hash-verified

171
172 @pytest.fixture
173 def add_cat_fixture(self, categories_prop_, categories_, category_):
174 chart_data = CategoryChartData()
175 name = "foobar"
176 categories_.add_category.return_value = category_
177 return chart_data, name, categories_, category_
178
179 @pytest.fixture
180 def add_ser_fixture(self, CategorySeriesData_, series_):

Callers

nothing calls this directly

Calls 1

CategoryChartDataClass · 0.90

Tested by

no test coverage detected