(self, request)
| 122 | ] |
| 123 | ) |
| 124 | def has_data_labels_set_fixture(self, request): |
| 125 | xChart_cxml, new_value, expected_cxml = request.param |
| 126 | # apply extended suffix to replace trailing '+' where present |
| 127 | if expected_cxml.endswith("+"): |
| 128 | expected_cxml = expected_cxml[:-1] + ( |
| 129 | "(c:showLegendKey{val=0},c:showVal{val=1},c:showCatName{val=" |
| 130 | "0},c:showSerName{val=0},c:showPercent{val=0},c:showBubbleSi" |
| 131 | "ze{val=0},c:showLeaderLines{val=1})" |
| 132 | ) |
| 133 | plot = PlotFactory(element(xChart_cxml), None) |
| 134 | expected_xml = xml(expected_cxml) |
| 135 | return plot, new_value, expected_xml |
| 136 | |
| 137 | @pytest.fixture |
| 138 | def series_fixture(self, SeriesCollection_, series_collection_): |
nothing calls this directly
no test coverage detected