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

Method label_fixture

tests/chart/test_category.py:199–203  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

197
198 @pytest.fixture(params=[(None, ""), ('c:pt{idx=9}/c:v"Bar"', "Bar")])
199 def label_fixture(self, request):
200 pt_cxml, expected_value = request.param
201 pt = None if pt_cxml is None else element(pt_cxml)
202 category = Category(pt)
203 return category, expected_value
204
205
206class DescribeCategoryLevel(object):

Callers

nothing calls this directly

Calls 2

CategoryClass · 0.90
elementFunction · 0.85

Tested by

no test coverage detected