Beispiel #1
0
 def it_raises_when_asked_for_autoshape_type_id_with_a_bad_prst(self):
     with pytest.raises(KeyError):
         AutoShapeType.id_from_prst('badPrst')
Beispiel #2
0
 def it_knows_the_autoshape_type_id_for_each_prst_key(self):
     assert AutoShapeType.id_from_prst('rect') == MSO_SHAPE.RECTANGLE