#NEWLINE# @ pytest . fixture ( params = [ ( 'w:r' , 'Foo' , 'w:r/w:rPr/w:rFonts{w:ascii=Foo,w:hAnsi=Foo}' ) , ( 'w:r/w:rPr' , 'Foo' , 'w:r/w:rPr/w:rFonts{w:ascii=Foo,w:hAnsi=Foo}' ) , ( 'w:r/w:rPr/w:rFonts{w:hAnsi=Foo}' , 'Bar' , 'w:r/w:rPr/w:rFonts{w:ascii=Bar,w:hAnsi=Bar}' ) , ( 'w:r/w:rPr/w:rFonts{w:ascii=Foo,w:hAnsi=Foo}' , 'Bar' , 'w:r/w:rPr/w:rFonts{w:ascii=Bar,w:hAnsi=Bar}' ) ] ) #NEWLINE# def name_set_fixture( self , request ) : #NEWLINE# #INDENT# ( r_cxml , value , expected_r_cxml ) = request . param #NEWLINE# font = Font ( element ( r_cxml ) ) #NEWLINE# expected_xml = xml ( expected_r_cxml ) #NEWLINE# return ( font , value , font )