@then('each shape is of the appropriate type')
def then_each_shape_is_of_appropriate_type(context):
    layout_shapes = context.layout_shapes
    expected_types = [LayoutPlaceholder, LayoutPlaceholder, Picture]
    for idx, layout_shape in enumerate(layout_shapes):
        assert type(layout_shape) == expected_types[idx], (
            "got \'%s\'" % type(layout_shape).__name__
        )
dataset/ETHPy150Open scanny/python-pptx/features/steps/slidelayout.py/then_each_shape_is_of_appropriate_type/original