#NEWLINE# @ pytest . fixture ( params = [ ( 'w:r' , None ) , ( 'w:r/w:rPr/w:u' , None ) , ( 'w:r/w:rPr/w:u{w:val=single}' , True ) , ( 'w:r/w:rPr/w:u{w:val=none}' , False ) , ( 'w:r/w:rPr/w:u{w:val=double}' , WD_UNDERLINE . DOUBLE ) , ( 'w:r/w:rPr/w:u{w:val=wave}' , WD_UNDERLINE . WAVY ) ] ) #NEWLINE# def underline_get_fixture( self , request ) : #NEWLINE# #INDENT# ( r_cxml , expected_value ) = request . param #NEWLINE# run = Font ( element ( r_cxml ) , None ) #NEWLINE# return ( run , expected_value )