def iter_fixture( self, slide_master_, _iter_rIds_, slide_layout_, slide_layout_2_): slide_master_.related_parts = { 'rId1': slide_layout_, 'rId2': slide_layout_2_ } slide_layouts = _SlideLayouts(slide_master_) return slide_layouts, slide_layout_, slide_layout_2_
def getitem_fixture(self, slide_master, related_parts_, slide_layout_): slide_layouts = _SlideLayouts(slide_master) related_parts_.return_value = {'rId1': None, 'rId2': slide_layout_} idx = 1 return slide_layouts, idx, slide_layout_
def len_fixture(self, slide_master_): slide_layouts = _SlideLayouts(slide_master_) slide_master_.sldLayoutIdLst = [1, 2] expected_count = 2 return slide_layouts, expected_count
def iter_rIds_fixture(self, slide_master): slide_layouts = _SlideLayouts(slide_master) expected_rIds = ['rId1', 'rId2'] return slide_layouts, expected_rIds