#NEWLINE# @ pytest . fixture ( params = [ ( 'w:tc/w:p' , 'foobar' , 'w:tc/w:p/w:r/w:t"foobar"' ) , ( 'w:tc/w:p' , 'fo\tob\rar\n' , 'w:tc/w:p/w:r/(w:t"fo",w:tab,w:t"ob",w:br,w:t"ar",w:br)' ) , ( 'w:tc/(w:tcPr, w:p, w:tbl, w:p)' , 'foobar' , 'w:tc/(w:tcPr, w:p/w:r/w:t"foobar")' ) ] ) #NEWLINE# def text_set_fixture( self , request ) : #NEWLINE# #INDENT# ( tc_cxml , new_text , expected_cxml ) = request . param #NEWLINE# cell = _Cell ( element ( tc_cxml ) , None ) #NEWLINE# expected_xml = xml ( expected_cxml ) #NEWLINE# return ( cell , new_text , expected_xml )