def test_process_content_line_1(): ls = ('ALLEN,8.001.2', 'ARUNDEL,11.001.2', '{COM:ADDRESSED:}', '{TEXT:shalbe}', ) for l in ls: assert_equal( process_content_line(l), '' )
def test_process_content_line_2(): ls = ('yo=r=', 'y=u=') es = ('yor', 'yu') for e, l in zip(es, ls): assert_equal( process_content_line(l), e )
def test_process_content_line(): l = ' <paren> yet once to be </paren> complayne of' assert_equal( process_content_line(l), ' yet once to be complayne of' )