Esempio n. 1
0
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),
            ''
            )
Esempio n. 2
0
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
            )
Esempio n. 3
0
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'
        )