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

Method values_fixture

tests/chart/test_data.py:656–661  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

654
655 @pytest.fixture
656 def values_fixture(self, request):
657 series_data = CategorySeriesData(None, None, None)
658 expected_values = [1, 2, 3]
659 for value in expected_values:
660 series_data._data_points.append(instance_mock(request, CategoryDataPoint, value=value))
661 return series_data, expected_values
662
663 @pytest.fixture
664 def values_ref_fixture(self, chart_data_):

Callers

nothing calls this directly

Calls 3

CategorySeriesDataClass · 0.90
instance_mockFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected