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

Method base_class_fixture

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

Source from the content-addressed store, hash-verified

183
184 @pytest.fixture(params=[(None, ""), ('c:pt/c:v"Foo"', "Foo")])
185 def base_class_fixture(self, request):
186 pt_cxml, str_value = request.param
187 pt = None if pt_cxml is None else element(pt_cxml)
188 category = Category(pt)
189 return category, str_value
190
191 @pytest.fixture(params=[(None, 42, 42), ('c:pt{idx=9}/c:v"Bar"', None, 9)])
192 def idx_fixture(self, request):

Callers

nothing calls this directly

Calls 2

CategoryClass · 0.90
elementFunction · 0.85

Tested by

no test coverage detected