def len_fixture(self, request): plotArea_cxml, expected_len = request.param plots = _Plots(element(plotArea_cxml), None) return plots, expected_len
def getitem_fixture(self, request, PlotFactory_, chart_, plot_): plotArea_cxml, idx = request.param plotArea = element(plotArea_cxml) plot_elm = plotArea[idx] plots = _Plots(plotArea, chart_) return plots, idx, PlotFactory_, plot_elm, chart_, plot_