Ejemplo n.º 1
0
 def iter_fixture(
         self, presentation_, _iter_rIds_, slide_master_, slide_master_2_):
     presentation_.related_parts = {
         'rId1': slide_master_, 'rId2': slide_master_2_
     }
     slide_masters = _SlideMasters(presentation_)
     return slide_masters, slide_master_, slide_master_2_
Ejemplo n.º 2
0
 def len_fixture(self, presentation_):
     slide_masters = _SlideMasters(presentation_)
     presentation_.sldMasterIdLst = [1, 2]
     expected_count = 2
     return slide_masters, expected_count
Ejemplo n.º 3
0
 def iter_rIds_fixture(self, presentation_part):
     slide_masters = _SlideMasters(presentation_part)
     expected_rIds = ['rId1', 'rId2']
     return slide_masters, expected_rIds
Ejemplo n.º 4
0
 def getitem_fixture(self, presentation_part, related_parts_,
                     slide_master_):
     slide_masters = _SlideMasters(presentation_part)
     related_parts_.return_value = {'rId1': None, 'rId2': slide_master_}
     idx = 1
     return slide_masters, idx, slide_master_
Ejemplo n.º 5
0
 def len_fixture(self, presentation_):
     slide_masters = _SlideMasters(presentation_)
     presentation_.sldMasterIdLst = [1, 2]
     expected_count = 2
     return slide_masters, expected_count
Ejemplo n.º 6
0
 def iter_rIds_fixture(self, presentation_part):
     slide_masters = _SlideMasters(presentation_part)
     expected_rIds = ['rId1', 'rId2']
     return slide_masters, expected_rIds
Ejemplo n.º 7
0
 def getitem_fixture(
         self, presentation_part, related_parts_, slide_master_):
     slide_masters = _SlideMasters(presentation_part)
     related_parts_.return_value = {'rId1': None, 'rId2': slide_master_}
     idx = 1
     return slide_masters, idx, slide_master_