#NEWLINE# @ then ( 'I can access a slide layout by index' ) #NEWLINE# def then_can_access_slide_layout_by_index( context ) : #NEWLINE# #INDENT# slide_layouts = slide_layouts . slide_layouts #NEWLINE# for idx in range ( 2 ) : #NEWLINE# #INDENT# slide_layout = slide_layouts [ idx ] #NEWLINE# assert isinstance ( slide_layout , SlideLayout )