Пример #1
0
 def len_fixture(self, request):
     plotArea_cxml, expected_len = request.param
     plots = _Plots(element(plotArea_cxml), None)
     return plots, expected_len
Пример #2
0
 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_