(self, request, Legend_, legend_)
| 233 | ] |
| 234 | ) |
| 235 | def legend_fixture(self, request, Legend_, legend_): |
| 236 | chartSpace_cxml, has_legend = request.param |
| 237 | chartSpace = element(chartSpace_cxml) |
| 238 | chart = Chart(chartSpace, None) |
| 239 | expected_value, expected_calls = None, [] |
| 240 | if has_legend: |
| 241 | expected_value = legend_ |
| 242 | legend_elm = chartSpace.chart.legend |
| 243 | expected_calls.append(call(legend_elm)) |
| 244 | return chart, Legend_, expected_calls, expected_value |
| 245 | |
| 246 | @pytest.fixture |
| 247 | def plots_fixture(self, _Plots_, plots_): |