Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/f/l/flanker-0.4.14/tests/mime/message/headers/headers_test.py   flanker(Download)
 
    # use prepend to insert header in the begining of the list
    h.prepend('Received', '0')
    eq_(['0', '2', '4', '6'], h.getall('Received'))
 
    assert_false(h.have_changed())
 
    h.prepend('Received', 'Yo')
    ok_(h.have_changed())
 

src/f/l/flanker-HEAD/tests/mime/message/headers/headers_test.py   flanker(Download)
 
    # use prepend to insert header in the begining of the list
    h.prepend('Received', '0')
    eq_(['0', '2', '4', '6'], h.getall('Received'))
 
    assert_false(h.have_changed())
 
    h.prepend('Received', 'Yo')
    ok_(h.have_changed())