Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assert CompareEq Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad BinOpMod Str AttributeLoad Call NameLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assert CompareIs AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Assert CompareIs AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assert Call NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assert Call NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assert Call NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assert Call NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num For NameStore NameLoad body AugAssignAdd NameStore Num Assert Call NameLoad NameLoad NameLoad Assert CompareEq NameLoad Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num For NameStore NameLoad body AugAssignAdd NameStore Num Assert Call NameLoad NameLoad NameLoad Assert CompareEq NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num BinOpMod Str Call NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad decorator_list Call NameLoad Str
N/A N/A 
Step implementations for slide layout-related features
 __future__ absolute_import behave given then pptx Presentation pptx.parts.slidelayout _LayoutPlaceholders _LayoutShapeTree pptx.shapes.base BaseShape pptx.shapes.picture Picture pptx.shapes.placeholder LayoutPlaceholder helpers test_pptx N/A SHAPE_COUNT 3 given_layout_placeholder_collection N/A N/A context N/A N/A N/A prs N/A Presentation N/A test_pptx lyt-shapes N/A N/A context layout_placeholders N/A N/A N/A prs slide_layouts N/A 0 placeholders N/A N/A given a layout placeholder collection given_layout_shape_collection N/A N/A context N/A N/A N/A prs N/A Presentation N/A test_pptx lyt-shapes N/A N/A context layout_shapes N/A N/A N/A prs slide_layouts N/A 0 shapes N/A N/A given a layout shape collection given_slide_layout_having_three_shapes N/A N/A context N/A N/A N/A prs N/A Presentation N/A test_pptx lyt-shapes N/A N/A context slide_layout N/A N/A prs slide_layouts N/A 0 N/A N/A given a slide layout having three shapes given_layout_having_two_placeholders N/A N/A context N/A N/A N/A prs N/A Presentation N/A test_pptx lyt-shapes N/A N/A context slide_layout N/A N/A prs slide_layouts N/A 0 N/A N/A given a slide layout having two placeholders then_each_shape_is_of_appropriate_type N/A N/A context N/A N/A N/A layout_shapes N/A context layout_shapes N/A expected_types N/A LayoutPlaceholder LayoutPlaceholder Picture N/A N/A idx layout_shape N/A enumerate layout_shapes N/A N/A N/A N/A type layout_shape N/A expected_types N/A idx N/A got '%s' N/A N/A type layout_shape __name__ N/A N/A then each shape is of the appropriate type then_can_access_layout_placeholder_by_idx_value N/A N/A context N/A N/A N/A layout_placeholders N/A context layout_placeholders N/A title_placeholder N/A N/A layout_placeholders get idx 0 N/A body_placeholder N/A N/A layout_placeholders get idx 10 N/A N/A N/A title_placeholder _element N/A N/A layout_placeholders N/A 0 _element N/A N/A N/A body_placeholder _element N/A N/A layout_placeholders N/A 1 _element N/A N/A then I can access a layout placeholder by idx value then_can_access_layout_placeholder_by_index N/A N/A context N/A N/A N/A layout_placeholders N/A context layout_placeholders N/A idx N/A range 2 N/A N/A layout_placeholder N/A layout_placeholders N/A idx N/A N/A isinstance layout_placeholder LayoutPlaceholder N/A N/A then I can access a layout placeholder by index then_can_access_layout_shape_by_index N/A N/A context N/A N/A N/A layout_shapes N/A context layout_shapes N/A idx N/A range SHAPE_COUNT N/A N/A layout_shape N/A layout_shapes N/A idx N/A N/A isinstance layout_shape BaseShape N/A N/A then I can access a layout shape by index then_can_access_placeholder_collection_of_slide_layout N/A N/A context N/A N/A N/A slide_layout N/A context slide_layout N/A layout_placeholders N/A slide_layout placeholders N/A msg SlideLayout.placeholders not instance of _LayoutPlaceholders N/A N/A isinstance layout_placeholders _LayoutPlaceholders msg N/A N/A then I can access the placeholder collection of the slide layout then_can_access_shape_collection_of_slide_layout N/A N/A context N/A N/A N/A slide_layout N/A context slide_layout N/A layout_shapes N/A slide_layout shapes N/A msg SlideLayout.shapes not instance of _LayoutShapeTree N/A N/A isinstance layout_shapes _LayoutShapeTree msg N/A N/A then I can access the shape collection of the slide layout then_can_iterate_over_the_layout_placeholders N/A N/A context N/A N/A N/A layout_placeholders N/A context layout_placeholders N/A actual_count 0 N/A layout_placeholder layout_placeholders N/A N/A actual_count 1 N/A N/A isinstance layout_placeholder LayoutPlaceholder N/A N/A actual_count 2 N/A N/A then I can iterate over the layout placeholders then_can_iterate_over_the_layout_shapes N/A N/A context N/A N/A N/A layout_shapes N/A context layout_shapes N/A actual_count 0 N/A layout_shape layout_shapes N/A N/A actual_count 1 N/A N/A isinstance layout_shape BaseShape N/A N/A actual_count SHAPE_COUNT N/A N/A then I can iterate over the layout shapes then_len_of_placeholder_collection_is_2 N/A N/A context N/A N/A N/A slide_layout N/A context slide_layout N/A layout_placeholders N/A slide_layout placeholders N/A N/A N/A len layout_placeholders 2 N/A expected len(layout_placeholders) of 2, got %s N/A len layout_placeholders N/A N/A then the length of the layout placeholder collection is 2 then_len_of_layout_shape_collection_counts_all_its_shapes N/A N/A context N/A N/A N/A slide_layout N/A context slide_layout N/A layout_shapes N/A slide_layout shapes N/A N/A N/A len layout_shapes SHAPE_COUNT N/A expected len(layout_shapes) of %d, got %s N/A SHAPE_COUNT N/A len layout_shapes N/A N/A then the length of the layout shape collection counts all its shapes