#NEWLINE# @ pytest . fixture ( params = [ ( 'sp' , None , 'title' , 0 ) , ( 'sp' , 0 , 'title' , 0 ) , ( 'sp' , 3 , 'body' , 3 ) , ( 'pic' , 6 , 'pic' , 6 ) , ( 'graphicFrame' , 9 , 'tbl' , 9 ) ] ) #NEWLINE# def idx_fixture( self , request ) : #NEWLINE# #INDENT# ( tagname , idx , ph_type , expected_idx ) = request . param #NEWLINE# shape_elm = self . shape_elm_factory ( tagname , ph_type , idx ) #NEWLINE# placeholder = BasePlaceholder ( ph_type , None ) #NEWLINE# return ( placeholder , expected_idx )