#NEWLINE# @ pytest . fixture ( params = [ ( 'c:chartSpace/c:chart' , True , 'c:chartSpace/c:chart/c:legend' ) ] ) #NEWLINE# def has_legend_set_fixture( self , request ) : #NEWLINE# #INDENT# ( chartSpace_cxml , new_value , expected_chartSpace_cxml ) = request . param #NEWLINE# chart = Chart ( element ( chartSpace_cxml ) , None ) #NEWLINE# expected_xml = xml ( expected_chartSpace_cxml ) #NEWLINE# return ( chart , new_value , expected_xml )