Exemplo n.º 1
0
    def it_provides_access_to_its_shadow(self, ShadowFormat_, shadow_):
        grpSp = element('p:grpSp/p:grpSpPr')
        grpSpPr = grpSp.xpath('//p:grpSpPr')[0]
        ShadowFormat_.return_value = shadow_
        group_shape = GroupShape(grpSp, None)

        shadow = group_shape.shadow

        ShadowFormat_.assert_called_once_with(grpSpPr)
        assert shadow is shadow_
Exemplo n.º 2
0
 def shapes_fixture(self, GroupShapes_init_):
     grpSp = element('p:grpSp')
     group = GroupShape(grpSp, None)
     return group, GroupShapes_init_, grpSp
Exemplo n.º 3
0
 def shape_type_fixture(self):
     return GroupShape(None, None)
Exemplo n.º 4
0
 def click_action_fixture(self):
     return GroupShape(None, None)